Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

Creating outlines

Outlines are automatically created for all SQL statements if the parameter CREATE_STORED_OUTLINE is set to TRUE.

You can create a stored outline for an individual statement by using the following syntax:

CREATE [OR REPLACE] [PUBLIC | PRIVATE] OUTLINE outline_name
        [FROM {PUBLIC | PRIVATE} source_outline] 
        FOR CATEGORY category
        ON SQL_statement

The CATEGORY clause allows you to group outlines into specific categories. If no category is specified, the outlines are placed in a default category. PUBLIC outlines, the default, are available to all users who are part of the PUBLIC security group. PRIVATE outlines are described shortly.

Outlines can be created and edited with the DBMS_OUTLN and DBMS_OUTLIN_EDIT packages. (See Chapter 10 for more information on these packages.) You can also use Enterprise Manager to create and edit outlines with Oracle9i. Outlines are stored in tables in the SYS schema and are visible through the *_OUTLINES and *_OUTLINE_HINTS views. For more information on these views, see Chapter 6.

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 Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page