Search notes:

SQL Server: sp_changedbowner

sp_changedbowner assigns a new owner to a database.
This procedures is in so-called maintenance mode and Micorosoft recommends to use alter authorization instead.

Index