Changing DB Object Ownerships

  • Is there any easy way to change all of a database's existing table's ownership to  'dbo' in a script?  Does anybody have one already?

     

    Thanks,

     

    Daniel

  • sp_changeobjectowner [ @objname = ] 'object' , [ @newowner = ] 'owner'

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

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