Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to drop a unique constraint through alter table

Status
Not open for further replies.

falom

Programmer
Apr 29, 2003
1
SE
Hi,

I created a DB2 table with "UNIQUE (columnX, columnY)" in the table definition, but i now want to drop it with help of alter table, but i could not find out the name of this unique constraint with which i can drop it ("alter table drop unique" does not work directly). And i of course can not drop the DB2 generated index directly. What should i do?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top