HI,
You can use alter table statement to alter partitions on an empty table in any way, but there are certian limitations when the table is populated.
When the table is populated, You can add or drop ranges only at end. Can you please sepeicfy the error you are getting?
Further, as per you given alter table statement:
ALTER TABLE COD.SOME_TABLE_S_C12126
MODIFY PRIMARY INDEX (mstr_cust_ky)
ADD RANGE#L2 BETWEEN 201401 AND 201412 EACH 1;
This range has already been specified in create table statement.
Please paste the error you are getting so that we can resolve it.
HI,
You can use alter table statement to alter partitions on an empty table in any way, but there are certian limitations when the table is populated.
When the table is populated, You can add or drop ranges only at end. Can you please sepeicfy the error you are getting?
Further, as per you given alter table statement:
ALTER TABLE COD.SOME_TABLE_S_C12126
MODIFY PRIMARY INDEX (mstr_cust_ky)
ADD RANGE#L2 BETWEEN 201401 AND 201412 EACH 1;
This range has already been specified in create table statement.
Please paste the error you are getting so that we can resolve it.