drop dbspace argument: Drop a dbspace (SQL administration API)

Use the drop dbspace argument with the admin() or task() function to drop the specified dbspace.

Syntax


1  EXECUTE FUNCTION
1 admin
1 task
2  ( "drop dbspace"
2  , "dbspace"
2  ) ;
Element Description Key Considerations
dbspace The name of the dbspace to drop. The dbspace must exist.

Before you drop a dbspace, drop all databases and tables that you previously created in the dbspace.

Usage

This function is equivalent to the onspaces -d command.

Example

The following example drops the dbspace named dbspace4:

EXECUTE FUNCTION task("drop dbspace","dbspace4");