—
NAME
DROP_VIEW - remove a view
SYNOPSIS
bash
DROP VIEW [ IF EXISTS ] \nname\n [, ...] [ CASCADE | RESTRICT ]DESCRIPTION
DROP VIEW drops an existing view. To execute this command you must be the owner of the view.
PARAMETERS
IF EXISTS
name
CASCADE
RESTRICT
EXAMPLES
This command will remove the view called kinds:
bash
DROP VIEW kinds;COMPATIBILITY
This command conforms to the SQL standard, except that the standard only allows one view to be dropped per command, and apart from the IF EXISTS option, which is a PostgreSQL extension.
SEE ALSO
ALTER VIEW (ALTER_VIEW(7)), CREATE VIEW (CREATE_VIEW(7))