村长

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年12月7日

摘要: 出自:http://blog.csdn.net/zhwqy84/article/details/6869549DECLARE c1 cursor for select 'alter table ['+ object_name(parent_obj) + '] dropconstraint ['+name+']; ' from sysobjects where xtype = 'F' open c1 declare @c1 varchar(8000) fetch next from c1 into @c1 while(@@fetch 阅读全文
posted @ 2011-12-07 20:51 Say No 阅读(825) 评论(0) 推荐(0) 编辑