Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Thursday, June 29, 2017

Finding When Someone Last Ran a DBCC

SQLblog.com - The SQL Server blog spot on the web
Finding When Someone Last Ran a DBCC
  The other day someone on Twitter asked how to find out when or who last ran a DBCC FREEPROCCACHE command on their SQL Server instance. Since this is not an unusual request I figured I would post a few examples of how to find DBCC commands or even many similar commands or events. If you had a regular or Extended Event trace going you could easily look for these types of commands assuming you had the correct events. However there are two ways that I know of to find these using built in default...(read more)

No comments: