H2 Alter Table Drop Constraint

The RazorSQL alter table tool includes a Drop Constraint option for dropping a constraint from a H2 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 H2 Alter Table Drop Constraint function:

ALTER TABLE PUBLIC.EMPLOYEE DROP CONSTRAINT TEST_CONST

Below is a screen shot of the drop constraint function of the H2 alter table tool.

H2 Drop Constraint