Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In SQL Server 2008 there is a permissions VIEW SERVER STATE. What rights this permission give to user? What SQL Server mean by SERVER STATE?

share|improve this question
up vote 17 down vote accepted

Read Dynamic Management Views and Functions

Dynamic management views and functions return server state information that can be used to monitor the health of a server instance, diagnose problems, and tune performance.

There are two types of dynamic management views and functions:

  • Server-scoped dynamic management views and functions. These require VIEW SERVER STATE permission on the server.
  • Database-scoped dynamic management views and functions. These require VIEW DATABASE STATE permission on the database.
share|improve this answer
    
Ok, many thanks! – hyty Oct 16 '10 at 16:49
    
I would mention that there are security implications for allowing the use of DMV's and DMF's -- in particular, they allow looking at queries and query parameters, which can contain confidential info. Not a problem if there is only one database on the server and the user can already look at everything in the DB. But how often is that the case? – jmoreno May 13 at 0:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.