Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 4
    This query is only useful if you have VIEW SERVER STATE permission. If you do not you will only see the results for the SELECT statement you just submitted, which is a bit useless! To establish if you have permissions run the following "SELECT * FROM fn_my_permissions(NULL, 'SERVER');" - If you don't see an entry with permission_name 'VIEW SERVER STATE' then you don't have the permission. Commented Mar 13, 2013 at 12:25
  • 11
    Also, this information is provided only when specific commands are being executed. These are for example ROLLBACK, RECOVERY or BACKUP DATABASE. Commented Nov 9, 2013 at 17:11