Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 1 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: msdn.microsoft.com/en-us/library/ms188796.aspx 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.