|Linux & Unix Commands - Search Man Pages
DROP VIEW(7) SQL Commands DROP VIEW(7)
DROP VIEW - remove a view
DROP VIEW name [, ...] [ CASCADE | RESTRICT ]
name The name (optionally schema-qualified) of an existing view.
Automatically drop objects that depend on the view (such as other views).
Refuse to drop the view if there are any dependent objects. This is the default.
The message returned if the command is successful.
ERROR: view name does not exist
This message occurs if the specified view does not exist in the database.
DROP VIEW drops an existing view from the database. To execute this command you must be
the owner of the view.
Refer to CREATE VIEW [create_view(7)] for information on how to create views.
This command will remove the view called kinds:
DROP VIEW kinds;
SQL - Language Statements 2002-11-22 DROP VIEW(7)
All times are GMT -4. The time now is 02:58 AM.