SQL: Change DB Owner to ‘SA’

SQL: In case you didn’t know ‘sp_changedbowner‘ is being deprecated, so use this instead….

Use ‘ALTER AUTHORIZATION ON DATABASE::DatabaseName to SA;

Ref:

Leave a Reply

Your email address will not be published. Required fields are marked *

I accept that my given data and my IP address is sent to a server in the USA only for the purpose of spam prevention through the Akismet program.More information on Akismet and GDPR.