Changing a Database Owner

  • I am trying to delete a user but cannot as he owns certain databases. How do I change the database owners??

  • Try this:

    sp_changedbowner

    -> Changes the owner of the current database.

    Syntax:

    sp_changedbowner [ @loginame = ] 'login'

    [ , [ @map = ] remap_alias_flag ]

    G,

    Nico

  • That worked fine.. Thanks very much.

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

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