sql 清空数据库的所有表的数据

exec sp_msforeachtable "truncate table ?"

快乐而轻松的写代码
原文地址:https://www.cnblogs.com/libei/p/7007512.html