Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

From microsoft connect you learn, that it is closed by design. But they do not tell how to replace

EXEC sp_dboption master

to query the current db options.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Most of the options are in sys.databases

share|improve this answer
Yes that works for me. SQL-Server 2005, 2008, 2012 –  bernd_k Mar 11 '12 at 10:51

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.