How do I disable the restriction?

I have a constraint (named INVS_ITEM_LOCATIONS_PK

) on my SQL Server 2005 table.

How do I disable it?

+2
sql-server-2005 constraints


source to share


2 answers


ALTER TABLE INVS_ITEM_LOCATIONS NOCHECK CONSTRAINT INVS_ITEM_LOCATIONS_PK



0


source to share


I'm not sure if you can disable the restriction, maybe you need to SPECIFY the restriction?



+3


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics