YMatrix
Quick Start
Standard Cluster Deployment
Data Modeling
Connecting to The database
Data Migration
Data Query
Maintenance and Monitoring
Performance Tuning
Troubleshooting
Reference Guide
SQL Reference
FAQ
Delete mode.
DROP SCHEMA [IF EXISTS] name [, ...] [CASCADE | RESTRICT]
DROP SCHEMA deletes schema from database. The mode can only be removed by its owner or superuser. Note that even if the owner does not own some objects within the schema, the owner can delete the schema (and thus all contained objects).
IF EXISTS
name
CASCADE
RESTRICT
Remove schema mystuff from the database and everything it contains:
DROP SCHEMA mystuff CASCADE;
DROP SCHEMA is fully compliant with the SQL standard, but this standard allows only one pattern per command to be deleted. Additionally, the IF EXISTS option is a YMatrix database extension.