Defining Page and Report Titles and Dimensions
Formatting SQL*Plus Reports
6-21
Entering Long Titles
If you need to enter a title greater than 500 characters in length, you can use the
SQL*Plus command DEFINE to place the text of each line
of the title in a separate
substitution variable:
DEFINE LINE1 = 'This is the first line...'
DEFINE LINE2 = 'This is the second line...'
DEFINE LINE3 = 'This is the third line...'
Then, reference the variables in your TTITLE or BTITLE command as follows:
TTITLE CENTER LINE1 SKIP 1 CENTER LINE2 SKIP 1 -
CENTER LINE3
Displaying System-Maintained Values in Titles
You can display the current page number and other system-maintained values in your
title by entering a system value
name as a title element, for example:
TTITLE LEFT
system-maintained_value_name
There are five system-maintained values you can display in titles, the most commonly
used of which is SQL.PNO (the current page number). See
TTITLE
on page 12-187 for
a list of system-maintained values you can display in titles.
Do'stlaringiz bilan baham: