ALTER DATABASE 'pubs' ,'trunc. log on chkpt.' ,'true' code example
Example 1: To change the database owner in SQL server
Use OnlineRestaurant
exec sp_changedbowner 'sa'
Example 2: how to change the database in sqlplus
oracle_sid=hcltss
Use OnlineRestaurant
exec sp_changedbowner 'sa'
oracle_sid=hcltss