For databases with a compatibility level below 90, executing sp_updatestats resets the automatic UPDATE STATISTICS setting for all indexes and statistics on every table in the current database.

  • 对于兼容性级别低于90的数据库,如果执行sp_updatestats,将对当前数据库内每个表中的所有索引和统计信息重置自动UPDATE STATISTICS设置。
目录 查词历史