DB2 Alter Table Drop Constraint
The RazorSQL alter table tool includes a Drop Constraint option for dropping a constraint from a DB2 database table. The drop constraint function allows the user to enter a constraint to drop from the table. The tool then generates the appropriate alter table drop constraint SQL command for dropping the constraint from the table.
Listed below is an example of the SQL generated by the DB2 Alter Table Drop Constraint function:
ALTER TABLE TESTUSER.EMPLOYEE DROP CONSTRAINT TEST_CONST
Below is a screen shot of the drop constraint function of the DB2 alter table tool.