This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
version, or one of the supported versions listed above instead.
DROP VIEW -- remove a view
DROP VIEW name [, ...] [ CASCADE | RESTRICT ]
The name (optionally schema-qualified) of an existing
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.
- DROP VIEW
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
Refer to CREATE
VIEW for information on how to create views.
This command will remove the view called kinds:
DROP VIEW kinds;