Alter table [DBO]. [atr_cont_ B] With nocheck add
Constraint [pk_atr_cont_ B] primary key clustered
(
[Id_cont_ B]
) On [primary]
Go
With nocheck:
Specifies whether the data in the table is verified with the newly added or re-enabled foreign key or check constraints. If it is not specified, it is assumed that the new constraint is with check, and the re-enable constraint is assumed to be with nocheck.
I personally understand that nocheck is for existing data. That is to say, if I have added or re-enabled a constraint, do I need to use this constraint for existing data in the database?
Constraints. Nockeck is not checked.
With check | with nocheck
Specifies whether the data in the table is verified with the newly added or re-enabled foreign key or check constraints. If it is not specified, it is assumed that the new constraint is with check, and the re-enable constraint is assumed to be with nocheck.
From: http://www.cnblogs.com/jhxk/articles/1633587.html