Hi All,
I have a database upon which the auto create and update stats is ON which I found by following query,SELECT NAME ,is_auto_create_stats_on ,is_auto_update_stats_on FROM sys.databases
I obsereved that stats are not being updated automatically for all indexes. I found that using the below query,
SELECT name AS index_name, STATS_DATE(OBJECT_ID, index_id) AS StatsUpdated FROM sys.indexes ORDER BY STATS_DATE(OBJECT_ID, index_id) DESC
Does anyone faced the same issue and whats the resolution for the issue