Skip Headers

Oracle® Database SQL Reference
10g Release 1 (10.1)

Part Number B10759-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

DROP DIMENSION

Purpose

Use the DROP DIMENSION statement to remove the named dimension.

This statement does not invalidate materialized views that use relationships specified in dimensions. However, requests that have been rewritten by query rewrite may be invalidated, and subsequent operations on such views may execute more slowly.


See Also:


Prerequisites

The dimension must be in your own schema or you must have the DROP ANY DIMENSION system privilege to use this statement.

Syntax


drop_dimension::=
Description of drop_dimension.gif follows
Description of the illustration drop_dimension.gif

Semantics


schema

Specify the name of the schema in which the dimension is located. If you omit schema, then Oracle Database assumes the dimension is in your own schema.


dimension

Specify the name of the dimension you want to drop. The dimension must already exist.

Example


Dropping a Dimension: Example

This example drops the sh.customers_dim dimension:

DROP DIMENSION customers_dim;

See Also:

"Creating a Dimension: Examples" and "Modifying a Dimension: Examples" for examples of creating and modifying this dimension