Is db_owner
permission sufficient to execute sp_changedbowner
?
I'm looking to change the database owner of a RDS SQL instance. I'm the owner of the DB, and still couldn't execute sp_changedbowner
as master user.
I would like to know what the minimum permissions are to execute sp_changedbowner
or ALTER AUTHORIZATION
commands.
Best Answer
Community wiki answer:
From
ALTER AUTHORIZATION
(Transact-SQL):There may be additional considerations in the AWS RDS world.
Note that
sp_changedbowner
is deprecated in favour ofALTER AUTHORIZATION
. Thesp_changedbowner
documentation says: