You can execute the DROP PARTITION TABLE statement to delete a partitioned table. This topic describes how to execute the DROP PARTITION TABLE statement.
Limits
If you delete a parent partitioned table, its child partitioned tables are also deleted.
You must specify the partitioned table that you want to delete in the statement.
Syntax
The following syntax applies when you execute the DROP PARTITION TABLE statement:
The following table describes the parameters in the statement.
DROP TABLE [ IF EXISTS ] table_name [, ...] ;
Note You can execute the
DROP TABLE
statement to delete multiple tables at a time.
Parameter | Description |
---|---|
IF EXISTS |
|
table_name | The name of the table that you want to delete. |
Examples
The following sample statement shows how to delete a partitioned table:
DROP TABLE hologres_child2;