You can remove multiple partitions or subpartitions from a range or list partitioned table with the DROP
PARTITION
and DROP
SUBPARTITION
clauses of the SQL ALTER
TABLE
statement.
For example, the following SQL statement drops multiple partitions from the range-partitioned table sales
.
ALTER TABLE sales DROP PARTITION sales_q1_2008, sales_q2_2008, sales_q3_2008, sales_q4_2008;
You cannot drop all the partitions of a table. When dropping multiple partitions, local and global index operations are the same as when dropping a single partition.