Hi Kbos,
Make a copy of your table and then try this (prior replace db_name and table_name ) :
DROP STAT db_name.table_name COLUMN(PARTITION);
ALTER TABLE db_name.table_name MODIFY PRIMARY INDEX ADD RANGE BETWEEN DATE '2005-01-01' AND DATE '2008-03-31' EACH INTERVAL '1' DAY;
ALTER TABLE db_name.table_name MODIFY PRIMARY INDEX ADD RANGE BETWEEN DATE '2013-01-01' AND DATE '2013-12-31' EACH INTERVAL '1' DAY;
COLLECT STATISTICS ON db_name.table_name COLUMN (PARTITION) ;
Regards.
Hi Kbos,
Make a copy of your table and then try this (prior replace db_name and table_name ) :
DROP STAT db_name.table_name COLUMN(PARTITION);
ALTER TABLE db_name.table_name MODIFY PRIMARY INDEX ADD RANGE BETWEEN DATE '2005-01-01' AND DATE '2008-03-31' EACH INTERVAL '1' DAY;
ALTER TABLE db_name.table_name MODIFY PRIMARY INDEX ADD RANGE BETWEEN DATE '2013-01-01' AND DATE '2013-12-31' EACH INTERVAL '1' DAY;
COLLECT STATISTICS ON db_name.table_name COLUMN (PARTITION) ;
Regards.