该命令EXEC sp_msforeachtable 'TRUNCATE TABLE ?'返回以下错误:
The EXEC SQL construct or statement is not supported.

我执行这样的查询:

问题
如何擦除所有数据,但保留现有表、关系、键和索引设置?
该命令EXEC sp_msforeachtable 'TRUNCATE TABLE ?'返回以下错误:
The EXEC SQL construct or statement is not supported.

我执行这样的查询:

问题
如何擦除所有数据,但保留现有表、关系、键和索引设置?