• For example:

    USE SampleDB

    EXEC sp_changedbowner 'sa'

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)