|Oracle9i SQL Reference
Release 1 (9.0.1)
Part Number A90125-01
DROP SEQUENCE to ROLLBACK, 10 of 20
VIEW statement to remove a view or an object view from the database. You can change the definition of a view by dropping and re-creating it.
The view must be in your own schema or you must have the
VIEW system privilege.
Specify the schema containing the view. If you omit schema, Oracle assumes the view is in your own schema.
Specify the name of the view to be dropped.
Oracle does not drop views, materialized views, and synonyms that refer to the view but marks them
INVALID. You can drop them or redefine views and synonyms, or you can define other views in such a way that the invalid views and synonyms become valid again.
If any subviews have been defined on view, Oracle invalidates the subviews as well. To learn if the view has any subviews, query the
SUPERVIEW_NAME column of the
DBA_VIEWS data dictionary views.
CONSTRAINTS to drop all referential integrity constraints that refer to primary and unique keys in the view to be dropped. If you omit this clause, and such constraints exist, the
DROP statement will fail.
The following statement drops the
emp_view view "Basic View Example"):