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
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Remove some relationship in diagram

Author  Topic 

seyha_moth
Yak Posting Veteran

74 Posts

Posted - 2007-04-06 : 23:49:42
Dear sir or madam

I have a problem related to relationship in sqlserver2000. I want to remove relationship between tableA and tableB but I don't know to write T-SQL to remove this relationship.

I lookforward to hearing from you
Thank you in advance

Best regard,



seyha moth

PeterNeo
Constraint Violating Yak Guru

357 Posts

Posted - 2007-04-07 : 00:32:45

Use ALTER TABLE command

ALTER TABLE tbl2 DROP CONSTRAINT const_name
Go to Top of Page

seyha_moth
Yak Posting Veteran

74 Posts

Posted - 2007-04-07 : 01:17:57
Thank you for your reply. I can solve my problem with your help

Good Bye!!


seyha moth
Go to Top of Page
   

- Advertisement -