Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

respected DBAs . . . is it possible to tell when statistics were last accessed by a query using T-SQL? I'm trying to ascertain what statistics are involved in a query, I know I can check the visual query plan but I wondered whether there was a table (or tables) with this information.

Thanks!

share|improve this question
3  
Is this what you are asking? How to Find the Statistics Used to Compile an Execution Plan. –  Martin Smith Aug 28 '13 at 16:45
    
Looks like it :D thanks that's awesome - didn't know about those trace flags –  DBAWaffle Aug 28 '13 at 17:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.