Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT name AS IndexName,
STATS_DATE(object_id, stats_id) AS LastStatisticsUpdate
FROM sys.stats
WHERE object_id = OBJECT_ID('TABLENAME')
and name ='INDEXNAME';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment