patternModerate
sp_dboption is not available in SQL Server 2012
Viewed 0 times
sp_dboptionavailable2012sqlservernot
Problem
The system stored procedure sp_dboption is not available in SQL Server 2012 anymore. How could it be replaced?
Solution
sp_dboption was deprecated a while ago - http://msdn.microsoft.com/en-us/library/ms187310(v=sql.105).aspxThe recommended alternative is
ALTER DATABASE - http://msdn.microsoft.com/en-us/library/ms174269.aspxContext
StackExchange Database Administrators Q#27879, answer score: 16
Revisions (0)
No revisions yet.