If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
No,
Its not possible.
what you can do is.
1> Export the records to a .csv file.
2> Take out the DDL of the table
3>Drop the table
4>Make the required change in the DDL (remove the column)
5>Open the .csv file in a excel sheet and remove the records for the particular column.
6> Create the new table with the modified DDl
7> Import the new .csv file to the table.
Jay step is correct, however I am lazy bum and like to skip steps. So, in situation like that I export to ixf only the columns that will need to be in the new table. Then import. It removes the manual work, thus limits on errors.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows