All Products
Search
Document Center

DROP TABLEGROUP

Last Updated: Jun 18, 2021

Description

You can execute the DROP TABLEGROUP statement to delete a table group.

Syntax

DROP TABLEGROUP [IF EXISTS] tablegroupname

Parameters

Parameter

Description

tablegroupname

The name of the table group. Assume that the table group that you want to delete does not exist. If you do not use the IF EXISTS clause, the system returns an error.

Examples

Delete table group myTableGroup1.

OceanBase(admin@test)> DROP TABLEGROUP myTableGroup1;