Don’t run this.
More information here.
More about Source control and random IT info
Don’t run this.
More information here.
Check ownership of databases
select name,suser_sname(owner_sid) as Owner
from sys.databases;
Alter ownership
alter authorization on database::"MY DATABASE" to sa;