Query to check if indexes have been rebuilded

  • Hi there!

    Is there a way to know, just by running a single query, if indexes of a specific database have been rebuilded?

    Regards

  • I guess you could check sysjobs and see when the last time the index rebuild job ran. Other than that, there's no easy way to track when an index was last rebuilt.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • GilaMonster, thanks for your tip.

    Regards

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply