April 2008
Intermediate to advanced
566 pages
21h 55m
English
DROP VIEW
DROP VIEW [IF EXISTS] view[, ...] [RESTRICT|CASCADE]This statement deletes a view. Multiple views may be given in
a comma-separated list. The IF EXISTS flag
prevents error messages if one of the specified views
doesn’t exist. Instead, a note will be generated, which can be
displayed afterward by executing the SHOW WARNINGS
statement. Any other views given with the statements that do exist
will be dropped.
The RESTRICT or CASCADE
options are reserved for a future release of MySQL. This statement is
available as of version 5.0.1 of MySQL and requires
DROP privilege for the view being deleted.
Read now
Unlock full access