Is there a way to see if a view is last run?

  • I have an aduit request to see when a view was last run.

    Is there some way for me to see when a view was last requested....some sys table that shows that?

  • Nope. SQL doesn't keep track of when anything runs. You'll need a trace, and it won't be a simple one.

    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
  • Kinda figured....

    Thanks Gail

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

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