Oracle8i SQL Reference
Release 3 (8.1.7)

Part Number A85397-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

SQL Statements:
DROP SEQUENCE to UPDATE, 10 of 27


DROP VIEW

Purpose

Use the DROP 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.

See Also:

 

Prerequisites

The view must be in your own schema or you must have the DROP ANY VIEW system privilege.

Syntax


Keywords and Parameters

schema

Specify the schema containing the view. If you omit schema, Oracle assumes the view is in your own schema.

view

Specify the name of the view to be dropped.

Views, materialized views, and synonyms that refer to the view are not dropped, but become 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.

See Also:

 

Example

DROP VIEW Example

The following statement drops the view_data view:

DROP VIEW view_data; 

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index