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 *