sp_dboption is not available in SQL Server 2012 The system stored procedure sp_dboption is not available in SQL Server 2012 anymore. How could it be replaced?
sp_dboption was deprecated a while ago - http://msdn.microsoft.com/en-us/library/ms187310(v=sql.105).aspx

The recommended alternative is ALTER DATABASE - http://msdn.microsoft.com/en-us/library/ms174269.aspx