Is there a quick tsql I can use to check when was the last time a dbreindex, index defrag and update stats was executed on the database?
Appreciate everyone's quick response.
sql serversql-server-2008
Is there a quick tsql I can use to check when was the last time a dbreindex, index defrag and update stats was executed on the database?
Appreciate everyone's quick response.
Best Answer
Try one of the queries below and see if that is what you are looking for: