我在SQL Server 2005中有一个带有外键的表,它禁用了大量数据加载,然后重新启用:
例:
alter table table1 nocheck constraint fk_1 go lots of inserts... go alter table table1 check constraint fk_1 go
现在,问题是:有没有办法重新检查这个刚刚插入的数据?
sql-server foreign-keys check-constraints
check-constraints ×1
foreign-keys ×1
sql-server ×1