DROP VIEW
Warning
SingleStore 9.0 gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 8.9 is recommended for production workloads, which can later be upgraded to SingleStore 9.0.
On this page
Drop a view.
Syntax
DROP VIEW [IF EXISTS] <view_name>;
Remarks
-
DROP VIEW
privileges are granted only to the user who created the view and to users withSUPER
privileges. -
This command can be run on the master aggregator node, or a child aggregator node (see Node Requirements for SingleStore Commands ).
-
This command causes implicit commits.
Refer to COMMIT for more information. -
Refer to the Permission Matrix for the required permission.
Examples
DROP VIEW inventory_view;
DROP VIEW IF EXISTS inventory_view;
Related Topics
Last modified: March 7, 2025