Skip to Main Content
Oracle SQL*Plus: The Definitive Guide
book

Oracle SQL*Plus: The Definitive Guide

by Jonathan Gennick
March 1999
Intermediate to advanced content levelIntermediate to advanced
528 pages
14h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle SQL*Plus: The Definitive Guide

REPHEADER

The REPHEADER command defines a report header. Report headers print on the first page of a report, after the page title and before the first detail line. See Chapter 3 for more information.

REPH[EADER] [OFF|ON]|
            [COL x|
            S[KIP] x|
            TAB x|
            LE[FT]|
            CE[NTER]|
            R[IGHT]|
            BOLD|
            FOR[MAT] format_spec|
            text|
            variable...]

where:

REPH[EADER]

May be abbreviated REPH. Issuing the REPHEADER command with no parameters causes SQL*Plus to display the current report header setting.

OFF

Turns the report header off, but does not erase its definition. You can turn it back on again with ON.

ON

Turns on printing of report headers.

COL x

Causes any header text following this parameter to print at the specified column position.

S[KIP] x

May be abbreviated to S, and inserts the specified number of line breaks before printing any subsequent footer text.

TAB x

TAB is similar to COL, but moves you the specified number of columns relative to the current position. Negative numbers move you backwards. TAB has nothing whatsoever to do with tab characters.

LE[FT]

May be abbreviated LE, and causes subsequent footer text to be printed beginning at the leftmost column of the current footer line.

CE[NTER]

May be abbreviated CE, and causes subsequent header text to be centered within the current line. The LINESIZE setting controls the line width.

R[IGHT]

May be abbreviated R, and causes subsequent header text to be printed flush right. The LINESIZE setting controls where SQL*Plus thinks the right end of the line is.

BOLD

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle SQL*Plus: The Definitive Guide, 2nd Edition

Oracle SQL*Plus: The Definitive Guide, 2nd Edition

Jonathan Gennick
Oracle PL/SQL Programming, Third Edition

Oracle PL/SQL Programming, Third Edition

Steven Feuerstein, Bill Pribyl
Oracle SQL

Oracle SQL

Dan Hotka

Publisher Resources

ISBN: 1565925785Supplemental ContentCatalog PageErrata