Given the following:
CREATE TABLE table1_ppi (
column1 INTEGER NOT NULL
, column2 INTEGER
, column3 DATE FORMAT 'yyyy-mm-dd'
)
PRIMARY INDEX (column1)
PARTITION BY RANGE_N(column3
BETWEEN DATE '2002-01-01' AND DATE '2012-12-31' EACH INTERVAL '1' YEAR,
NO RANGE);
ALTER TABLE table1_ppi
MODIFY PRIMARY INDEX
DROP RANGE BETWEEN DATE '2002-01-01' AND DATE '2002-12-31'
EACH INTERVAL '1' YEAR;
What is an effect of the ALTER TABLE statement?
- Rows of the dropped partition are deleted.
- Rows of the NO RANGE partition are deleted.
- Rows are moved from the dropped partition to the save table.
- Rows are moved from the dropped partition to the NO RANGE partition.
Reveal Solution
Next Question