DROP VIEW
DROP VIEW removes a single view. Dropping multiple views in one statement is not supported in MatrixOne.
Description
DROP VIEW removes a single view. MatrixOne does not support dropping multiple views in one statement; attempting to do so causes error 20105 ("not supported: drop multiple (N) view"). MySQL 8.0 supports dropping multiple views in a single DROP VIEW statement.
If any views named in the argument list do not exist, the statement fails with an error indicating by name which nonexisting views it was unable to drop, and no changes are made.
The IF EXISTS clause prevents an error from occurring for views that don't exist. When this clause is given, a NOTE is generated for each nonexistent view.
Syntax
> DROP VIEW [IF EXISTS]
view_name [, view_name] ...
Examples
CREATE TABLE t1(c1 INT PRIMARY KEY, c2 INT);
CREATE VIEW v1 AS SELECT * FROM t1;
mysql> DROP VIEW v1;
Query OK, 0 rows affected (0.02 sec)