摘要:
--去掉所有表约束declare @n nvarchar(max) declare allTable cursor for select name from sys.tablesopen allTable fetch next from allTable into @nwhile @@fetch_status = 0 begin exec ('ALTER TABLE '+@n+' NOCHECK CONSTRAInT ALL') exec ('ALTER TABLE '+@n+' DISABLE TRIGGER ALL') ... 阅读全文
posted @ 2014-03-19 19:42
二师弟tl
阅读(339)
评论(0)
推荐(0)

浙公网安备 33010602011771号