To change the database owner in SQL server
snippet in sql

To change the database owner in SQL server

user1079

Use OnlineRestaurant
exec sp_changedbowner 'sa'