DROP SCHEMA
removes schema (no row flow)
What changes
- Input
- catalog
- Output or change
- catalog: schema
Syntax at a glance
DROP SCHEMA [ IF EXISTS ] schema_name
Work example
An empty schema is retired after its objects and permissions move.
List schema objects, ownership, grants, and name references before removal.
Check your work The schema contains no required object and no application resolves a name through it.
Open Microsoft Learn for full syntax, permissions, and details for your version.