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

Drop or disable Foreign Key in SQL Server 2000

Status
Not open for further replies.

citic

Technical User
Sep 25, 2001
11
0
0
US
How can I use T-SQL to drop or disable foreign key constraint in SQL Server by using SQL Analyzer. I know this can be done by GUI Enterprise Manager. I want to know how to use T-SQL to do the same job. Thanks
 

Look in SQL BOL under Alter Table. Read about Check/Nocheck Contraint.

ALTER TABLE table_name NOCHECK CONSTRAINT constraint_name Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top