When altering the columns involved in partitioning a table, several steps must be done which introduces complexity and potential for errors. This is the current provided solution:
Do a GEN on the table and save the generated DDL. Adjust the partitioning columns in the saved GEN, and then use that as your source (DDL file) in Object Compare. Object compare will drop the table, as expected (key here is that it will handle data unloads/loads and recreating all related objects that were dropped)
i. In Object Compare, specify:
1. The altered DDL as your source using the DDL file option
2. The table as your target using the table from Db2 catalog
3. No mask
4. No ignore
5. Generate your compare!
|Who would benefit from this IDEA?||DB2 Administration Tool Users|
How should it work?
Specify ALT on a table.
Provide an option to add or remove partitioning columns (similar to how the high and low values for the partition can currently be specified).
WSL will generate to alter/drop/recreate objects as appropriate.
|Priority Justification||PFG is in the process of migrating from BMC Admin tools to IBM. We have several tables that need to have columns removed from the list of partitioning columns|
|Customer Name||Principal Financial Group|