mapping dbo to a different login name

  • Hi,

    Under one of my databases user dbo has a login name domainA\UserX. I need to remap dbo to have a user called domainA\UserY. This is on SQL 2005 SP2 64bit. How can I do that?

    Thank you,

    T.

  • Run:

    sp_changedbowner 'domainA\UserY'

    under tht database.

    HTH!

    MJ

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply