Alter Table Owner

  • Is it possible to alter the OWNER of a table in SQL Server 2000?

    2 tables were replicated --- then a script was executed by another DBA that set the OWNER of the tables to DBO.  Access to the tables worked yesterday (as DBO) but today the OWNER is set to replication_user --- and access to these tables is no longer working.

     

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

    (check BOL for more details).

    I'm not sure how that will work with replication however.

    Tim Januario

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

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