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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I delete FK

Status
Not open for further replies.

essa2000

Programmer
Dec 6, 2000
299
CA
Dears;
I want to create FK using ALTER TABLE and then after creation I want to delete this FK.
How can I delete this run time FK.

essa2000
 
Hi essa2000,
May be this can solve your problem.


ALTER TABLE myTable
DROP CONSTRAINT myForgeinKeyConstraintName

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top