Click here to Skip to main content
15,918,275 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
There is a system stored procedure called sp_dboption which displays information about the database when no parameters are passed and also if a parameter is passed along with a value, the said database attribute value is changed.

SQL Server 2012 no longer supports this and people recommend using ALTER DATABASE. However this satisfies the second part of the sp_dboption functionality. How do we get the first functionality (get all database related information) in SQL Server 2012 similar to sp_dboption (without parameters) does?
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900