删除数据库中所有表中的数据

来源:互联网 发布:c语言判断是不是素数 编辑:程序博客网 时间:2024/04/29 20:09
---删除所有表中的内容execsp_MSforeachtable @command1='Delete from ?'execsp_MSforeachtable @command1 = 'TRUNCATE TABLE ?'
原创粉丝点击