You can execute the DROP PARTITION TABLE statement to delete a partitioned table. This topic describes how to execute the DROP PARTITION TABLE statement.
Limitations
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:
DROP TABLE [ IF EXISTS ] table_name [, ...] ;You can execute the DROP TABLE statement to delete multiple tables at a time.
The following table describes the parameters in the statement.
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;