OracleDB12c New Feature: Adding, Dropping, Truncating Multiple Partitions
Yesterday, we discussed merging and splitting multiple partitions. The same feature is extended in 12c to add, drop or truncate multiple partitions in a single SQL statement. Add multiple partitions example: ALTER TABLE SALESDATA ADD PARTITION S2015Q1 VALUES LESS THAN (TO_DATE(’01-APR-15′,’DD-MON-YY’)), PARTITION S2015Q2 VALUES LESS THAN (TO_DATE(’01-JUL-15′,’DD-MON-YY’)), PARTITION S2015Q3 VALUES LESS THAN (TO_DATE(’01-OCT-15′,’DD-MON-YY’)), PARTITION S2015Q4 … Read more