You can execute the DROP VIEW statement to delete a view of a PolarDB-X instance.

Syntax

DROP VIEW [IF EXISTS] view_name

Examples

# Create a view.
create view v as select 1;
# Delete a view.
drop view v;