摘要: Create table #temp([id] int,[name] nvarchar(1))Insert #tempselect 1,N'a' union allselect 1,N'b' union allselect 2,N'c' union allselect 2,N'd' union al... 阅读全文
posted @ 2014-08-31 22:55 oliverary 阅读(291) 评论(0) 推荐(0)
摘要: EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'EXEC sp_MSForEachTable 'ALTER TABLE ? DISABLE TRIGGER ALL'EXEC sp_MSForEachTable 'DELETE ... 阅读全文
posted @ 2014-08-31 22:44 oliverary 阅读(112) 评论(0) 推荐(0)