|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
INDEX LAST REBUILT TIMEHi folks,
Is there a way to find out when was the last time an index was rebuilt? Is this information is available in any system tables? Thx, Ram That information is not stored.
-- Show quoteTibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ Blog: http://solidqualitylearning.com/blogs/tibor/ "Ram" <R**@discussions.microsoft.com> wrote in message news:A6D3D5D4-4678-4197-AEF6-2F0952E8DD43@microsoft.com... > Hi folks, > > Is there a way to find out when was the last time an index was rebuilt? > Is this information is available in any system tables? > > Thx, > Ram Heh heh, when you issue the DBCC command, write it down in your notebook.
:-) SQL Server does not track this information. If you wish to track this information, you'll have to do it yourself. For example, you could have a stored procedure that issues the DBCC command(s) and logs to a table. A Show quote "Ram" <R**@discussions.microsoft.com> wrote in message news:A6D3D5D4-4678-4197-AEF6-2F0952E8DD43@microsoft.com... > Hi folks, > > Is there a way to find out when was the last time an index was rebuilt? > Is this information is available in any system tables? > > Thx, > Ram |
|||||||||||||||||||||||