Skip to main content

DROP SPACE

Delete a space.

note

Only empty spaces can be dropped. If the space contains any child objects — folders, tables, views, or functions — the command fails. Drop all child objects in the space before dropping the space itself.

Syntax
DROP SPACE <space_name>

Parameters

<space_name> String

The name of the space that you are deleting.


Examples

Drop a space
DROP SPACE my_space