@Mandeep Dhillon
You have followed the correct process to change the database owner using the ALTER AUTHORIZATION ON DATABASE command.
Changing the owner of a database
The following example change the owner of the Parts
database to the login MichikoOsada
.
ALTER AUTHORIZATION ON DATABASE::Parts TO MichikoOsada;
However, there might be a delay in the ALTER AUTHORIZATION ON DATABASE command taking effect. This is because the new owner’s SID must be propagated to all objects in the database, which can take some time depending on the size of the database and the number of objects it contains. Please let us know if you continue to experience the same. Regards, Oury