YMatrix
Cluster Deployment
Data Model
Data Writing
Data Query
SQL Reference
Maintenance and Monitoring
Tool Guide
Troubleshooting
Delete the view.
DROP VIEW [IF EXISTS] name [, ...] [CASCADE | RESTRICT]
DROP VIEW will delete the existing view. Only view owners can delete it.
IF EXISTS
name
CASCADE
RESTRICT
Delete the view topten:
DROP VIEW topten;
DROP VIEW is fully SQL-compliant, but this standard allows only one view per command to be deleted. Additionally, the IF EXISTS option is a YMatrix database extension.