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

Name

CREATE/ALTER/DROP OUTLINE

Synopsis

CREATE Syntax:

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

ALTER Syntax:

ALTER OUTLINE [{PUBLIC | PRIVATE}] outline_name 
{ REBUILD 
| RENAME TO new_outline_name 
| CHANGE CATEGORY TO new_category_name 
}

DROP Syntax:

DROP OUTLINE outline_name

Creates, modifies, or removes a set of attributes used by the optimizer to generate an execut ion plan. New in Oracle8i.

Keywords

PUBLIC

Specifies that the outline is available to all users. This is the default. The use of this keyword in the ALTER OUTLINE statement is new with Oracle9i.

PRIVATE

Specifies that the outline is private to the current session. The use of this keyword in the ALTER OUTLINE statement is new with Oracle9i.

source_outline

Name of an existing outline from which this outline will be copied.

category

Name of the category for grouped outlines.

ON statement

Specifies the SQL statement for which Oracle will create an outline when the statement is compiled. This clause is optional only if you are creating a copy of an existing outline using the FROM clause.

REBUILD

Specifies that Oracle is to regenerate the execution plan for outline_name using current conditions.

RENAME TO

Specifies that the outline is to be renamed.

CHANGE CATEGORY TO

Specifies that this outline will be placed in a new category.

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