Oracle Report Title Syntax
- TTITLE : TTITLE is the command that defines a page header. You can abbreviate it to TTI.
- LEFT: Tells SQL*Plus to align subsequent text with the left edge of the page.
- "COIN Database": This text will print as part of the first title line, and it will start on the left side of the page.
- -: The hyphen continues the TTITLE command to another line.
- RIGHT: Tells SQL*Plus to align subsequent text with the right edge of the page.
- Page: Is a literal that will be printed in front of the page number.
- FORMAT 999: This format specification is applied to any numbers, in this case the page number, that subsequently appear in the page header.
- SQL.PNO: This is a special construct that SQL*Plus recognizes, and replaces with the actual page number.
- -: The hyphen continues the TTITLE command to another line.
- SKIP 1: Tells SQL*Plus to advance one line.
- CENTER: Tells SQL*Plus to center the text that follows.
- "Database Object Report": This is the report name, and it will be centered on the second title line.
- -: The hyphen continues the TTITLE command to another line.
- SKIP 6: Tells SQL*Plus to advance six lines, in order to leave some space between the page heading and the column data.