Last active
September 11, 2017 17:36
-
-
Save samirbehara-zz/097a4d8b4987240fe2348aec3cf81fe3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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