摘要: --/第1步**********删除所有表的外键约束*************************/ DECLARE c1 cursor for select 'alter table ['+ object_name(parent_obj) + '] drop constraint ['+name+']; ' from sysobjects where xtype = 'F' open... 阅读全文
posted @ 2017-08-21 21:53 914556495 阅读(909) 评论(0) 推荐(1) 编辑