DROP EDITION

Purpose

Use the DROP EDITION statement to drop an edition, along with all actual editionable objects it contains. An actual editionable object is an editionable object that has been created or modified in an edition.

See Also: CREATE EDITION for a listing of editionable object types

Prerequisites

You must have the DROP ANY EDITION system privilege, granted either directly or through a role.

Syntax

drop_edition::=

Description of the illustration drop_edition.gif

Semantics

IF EXISTS

Specify IF EXISTS to drop an existing edition.

Specifying IF NOT EXISTS with DROP results in ORA-11544: Incorrect IF EXISTS clause for ALTER/DROP statement.

Objects that are not editionable, or that are editionable but have not been actualized in the current edition, are not dropped.

You must specify CASCADE if the specified edition contains any actual editionable objects.

Restrictions

This statement is subject to the following conditions and restrictions:

DROP EDITION will fail if you attempt to drop an edition that is the current edition in any session.

See Also:

Examples

For examples that use this statement, refer to CREATE EDITION.