sqlserver 禁用外键
摘要:
select'ALTER TABLE '+o.name+' NOCHECK CONSTRAINT '+fk.name+';'AS Commandfromsys.foreign_keys fkJOIN sys.all_objects o ON(fk.parent_object_id=o.object_id) 阅读全文
posted @ 2014-03-10 19:37 中子持心 阅读(169) 评论(0) 推荐(0) 编辑