Use the ALTER
TABLE
EXCHANGE
SUBPARTITION
statement to convert a hash subpartition of a *-hash partitioned table into a nonpartitioned table, or the reverse. The following example converts the subpartition q3_1999_s1
of table sales
into the nonpartitioned table q3_1999
. Local index partitions are exchanged with corresponding indexes on q3_1999
.
ALTER TABLE sales EXCHANGE SUBPARTITION q3_1999_s1 WITH TABLE q3_1999 INCLUDING INDEXES;