Hi All,
We have created a user and made him main owner to one database but this user is denied when he tried to change its recovery model from full to simple.
Details:
SQL Server 2008 R2 Service Pack 1 (SP1): 10.50.2500
Login Server Role: public
Used EXEC sp_changedbowner 'DBAIRITA' to make him main db owner
please find the below error message:
----------------------------------------
TITLE: Microsoft SQL Server Management Studio------------------------------
Alter failed for Database 'Testdb'. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500.0+((KJ_PCU_Main).110617-0038+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Alter+Database&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
The user does not have permission to perform this action. (Microsoft SQL Server, Error: 297)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500&EvtSrc=MSSQLServer&EvtID=297&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
Please let us know if you need any more details on this and also please share your views on this.
Regards,
Shiva
----Learners Curiosity Never Ends----