Skip to main content
Deletes a schema from the current database.

Syntax

Parameters

Examples

Drop an empty schema
Drop a schema only if it exists
Drop a schema and all its objects
Prevent dropping a schema that contains objects The following statement fails if the analytics schema contains any tables, views, or other objects: