9 lines
212 B
MySQL
9 lines
212 B
MySQL
|
-- DROP VIEW [IF EXISTS] [db_name.]view_name
|
||
|
DROP VIEW my_view;
|
||
|
DROP VIEW my_db.my_view;
|
||
|
DROP VIEW IF EXISTS my_view;
|
||
|
DROP VIEW IF EXISTS my_db.my_view;
|
||
|
|
||
|
-- example
|
||
|
drop view unimportant;
|
||
|
drop view my_db.trivial;
|