DROP VIEW - remove a view

SYNOPSIS

 

DROP VIEW name [, ...] [ CASCADE | RESTRICT ]

DESCRIPTION Description

DROP VIEW drops an existing view from the database. To execute this command must be the owner of the view.

PARAMETERS Parameters

name

 To delete a view name (optionally schema-qualified).
CASCADE

 This view are automatically deleted dependent objects (such as other views).
RESTRICT

 If there are any objects depend Refuse to drop the view. This is the default.

EXAMPLES Examples


 The following command will remove the view kinds:

 

DROP VIEW kinds;

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11081414.html