摘要: 1.建立存储过程[代码]EXEC sp_MSForEachTable 'TRUNCATE TABLE ?'EXECsp_MSForEachTable'ALTERTABLE?CHECKCONSTRAINTALL'EXECsp_MSForEachTable'ALTERTABLE?ENABLETRIGGERALL'GO。就算各个表之间有约束也不用担心,照样搞定。ps:EXEC sp_MSForEachT... 阅读全文
posted @ 2010-11-16 17:07 phcis 阅读(1391) 评论(0) 推荐(0) 编辑