Oracle® Database SQL Reference 10g Release 1 (10.1) Part Number B10759-01 |
|
|
View PDF |
Purpose
Use the DROP
MATERIALIZED
VIEW
LOG
statement to remove a materialized view log from the database.
Note: The keywordSNAPSHOT is supported in place of MATERIALIZED VIEW for backward compatibility. |
See Also:
|
Prerequisites
To drop a materialized view log, you must have the privileges needed to drop a table.
Syntax
Semantics
Specify the schema containing the materialized view log and its master table. If you omit schema
, then Oracle Database assumes the materialized view log and master table are in your own schema.
Specify the name of the master table associated with the materialized view log to be dropped.
After you drop a materialized view log, some materialized views based on the materialized view log master table can no longer be fast refreshed. These materialized views include rowid materialized views, primary key materialized views, and subquery materialized views.
Example
The following statement drops the materialized view log on the oe.customers
master table:
DROP MATERIALIZED VIEW LOG ON customers;