Database refresh date

  • I want to know when our Dev database was last refreshed as of production.

    it there any script tht will tell me when the database was last refreshed.

  • query table msdb..restorehistory.

    ---------------------------------------------------------------------

  • Thank you very much

  • Depends. What do you mean by 'refresh'?

    If you mean restored from backup, George's query will work. If you mean something else, it won't.

    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

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

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