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

Do I need to be sysadmin to run DBCC commands on SQL Server? Or is db_owner rights enough?

share|improve this question
up vote 2 down vote accepted

Not all of them are the same, but at least one explicitly requires sysadmin.

See the Permissions section of DBCC INPUTBUFFER on msdn- this requires sysadmin. DBCC CHECKDB only requires db_owner.

Are there any in particular that you're looking to use?

share|improve this answer
You can see all of the DBCC Commands for SQL 2008 here: Each has a section on permissions. – Will Sep 24 '10 at 12:54
I tried to run: DBCC SQLPERF(LOGSPACE). From your link I can find that I need "view server state" permissions. – atricapilla Sep 24 '10 at 13:15

Your Answer


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.