DROP TABLESPACE

2023-08-18 09:26:34  Updated

Description

The DROP TABLESPACE statement deletes a tablespace logical object. The object can be deleted only if no table exists under the tablespace.

Syntax

DROP TABLESPACE tablespace_name;

Parameter description

Parameter Description
tablespace_name Specifies the name of the tablespace to be deleted.

Examples

  • Delete the tablespace object ts.
OceanBase(root@oceanbase)>drop tablesapce ts;

Contact Us