摘要:
1)禁止所有表约束的SQLselect 'alter table '+name+' nocheck constraint all' from sysobjects where type='U'2)删除所有表数据的SQLselect 'TRUNCATE TABLE '+name from sysobjects where type='U'3)恢复所有表约束的SQLselect 'alter table '+name+' check constraint all' from sysobj 阅读全文
posted @ 2012-12-06 11:56
LGWCICI
阅读(185)
评论(0)
推荐(0)
浙公网安备 33010602011771号