All Products
Search
Document Center

PolarDB:DROP VIEW

Last Updated:Mar 27, 2025

This topic describes how to use the DROP VIEW statement to delete a view of a PolarDB-X instance.

Syntax

DROP VIEW [IF EXISTS] view_name

Example

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