sys.sp_changeobjectowner

general
#stored-procedure

Description

Changes the owner of an object in the current database.

Syntax

<existing_owner>.<object_name>