清空所有数据表中的记录:
exec sp_msforeachtable @Command1 ='truncate table ?'
删除所有数据表:
exec sp_msforeachtable 'delete N''?'''
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。