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

The SET Command

SQL*Plus contains a large number of internal variables that control various aspects of the way the product operates. The SET command is used to change these settings to suit your preferences. The number of settings is quite large, so for convenience I’ve divided them into the following categories:

  • Report output and format settings

  • Feedback settings

  • Input settings

  • Operational settings

  • Substitution variable settings

  • Large object settings

  • Tuning and timing settings

  • Database administration settings

  • Miscellaneous settings

The following sections describe the settings available in each of these categories.

Report Output and Format Settings

The largest group of SQL*Plus settings exists to control the way data is formatted, displayed, and output for a report. These settings control such things as the number of lines on a page, the line length, whether or not tab characters are used to format the output, and so forth. The following list briefly describes each of these settings:

COLSEP

Controls the text used to separate columns of data.

EMBEDDED

Turns the embedded report feature on or off.

HEADSEP

Controls the character used to mark a line break in a column heading.

HEADING

Controls whether or not column headings are displayed when selecting data.

LINESIZE

Specifies the maximum line width.

MAXDATA

The maximum row length SQL*Plus can handle.

NEWPAGE

Controls what SQL*Plus prints when advancing to a new page.

NULL

Contains the text SQL*Plus displays for any null values returned by a query. ...

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