Contents Aster SQL and Function Reference


Add to my manuals
228 Pages

advertisement

Contents Aster SQL and Function Reference | Manualzz

Aster Data proprietary and confidential DROP VIEW

However, it is not necessary to remove role memberships involving the user; DROP ROLE automatically revokes any memberships of the target user in other roles. The other roles are not dropped nor otherwise affected.

Compatibility

The DROP USER statement is an Aster Database extension. The SQL standard leaves the definition of users to the implementation.

See Also

“CREATE USER” on page V-43

, “REVOKE” on page V-71 , and

“DROP ROLE” on page V-52 .

DROP VIEW

DROP VIEW -- remove a view

Synopsis

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

Description

DROP VIEW

drops an existing view. To execute this command you must be the owner of the view.

Parameters

IF EXISTS Do not throw an error if the view does not exist. A notice is issued in this case. name The name (optionally schema-qualified) of the view to remove.

CASCADE Automatically drop objects that depend on the view.

RESTRICT Do not drop the view if other objects depend on it. This is the default behavior.

Examples

This command will remove the view called kinds:

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 an extension.

See Also

ALTER VIEW,

CREATE VIEW

.

December 14, 2011 SQL Commands V--55

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

advertisement

Table of contents