Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 remove relation

Author  Topic 

cwtriguns2002
Constraint Violating Yak Guru

272 Posts

Posted - 2008-02-12 : 03:17:43
Hi everyone...got a question.

How could i remove a relation from 2 tables using a script?

Thanks

RON
________________________________________________________________________________________________
"I won't last a day without SQL"




khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2008-02-12 : 03:20:05
alter table <table name> drop constraint <constraint name>

see http://msdn2.microsoft.com/en-us/library/ms174123.aspx


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -