ViewServerState Property

  • I (think) I would like to set the ViewServerState Property to true so my business partners can run sp_who2 (SQL 2005). How can I do this in Studio Monitor, either globally (~ 75 login ids) or to a few select ids?

    Thanks in advance,

  • You can wrap this in a cursor using dynamic SQL to make it easier for the 75 + logins 🙂

    USE master

    GO

    GRANT VIEW SERVER STATE TO [SomeUserAccount]

    GO

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

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