Click here to Skip to main content
15,890,336 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
ALTER TABLE Hicheel_tuluvluguu ADD FOREIGN KEY (uliral_code) REFERENCES Uliral(uliral_code)

How drop this FOREIGN KEY?
Posted

1 solution

It is explained here: SQL FOREIGN KEY Constraint[^]
SQL
ALTER TABLE <table name>
DROP CONSTRAINT <constraint>
 
Share this answer
 
v2
Comments
Tsepu 24-Nov-12 10:14am    
thanks. But my FOREIGN KEY is not CONSTRAINT
Abhishek Pant 24-Nov-12 11:08am    
just use above query it will work for you if you are using sql server

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900