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:
- Deprecation: https://technet.microsoft.com/en-us/library/ms178630(v=sql.110).aspx
- Alter Authorization: https://technet.microsoft.com/en-us/library/ms187359(v=sql.110).aspx