All Products
Search
Document Center

AnalyticDB:DROP VIEW

Last Updated:Mar 28, 2026

Deletes one or more views from the database.

Syntax

DROP VIEW [IF EXISTS] view_name [, view_name] ...

Parameters

ParameterDescription
IF EXISTSSuppresses an error if the specified view does not exist. Optional.
view_nameThe name of the view to delete. To reference a view in a specific database, use the database_name.view_name format. To delete multiple views in a single statement, specify their names as a comma-separated list.

Example

Delete a view named v:

DROP VIEW v;