Skip Headers
Oracle® TimesTen In-Memory Database SQL Reference
Release 11.2.1

Part Number E13070-03
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
Contact Us

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

DROP [MATERIALIZED] VIEW

The DROP [MATERIALIZED] VIEW statement deletes the specified view, including any hash indexes and any range indexes associated with it.

Required privilege

SQL syntax

DROP [MATERIALIZED] VIEW ViewName

Parameters

The DROP VIEW statement has the parameters:

Parameter Description
MATERIALIZED Specifies that the view is materialized.
ViewName Identifies the view to be dropped.

Description

When you perform a DROP VIEW operation on a materialized view, the detail tables are updated and locked. An error may result if the detail table was already locked by another transaction.

Examples

The following statement drops the custorder view.

DROP VIEW custorder;

See also


CREATE MATERIALIZED VIEW
CREATE VIEW