SP_MSFOREACHTABLE 'sp_changeobjectowner ''?'' , ''dbo'''
전체 테이블 소유자 변경
 
EXEC sp_changeobjectowner 'TableName', 'dbo'
테이블 하나 소유자 변경

+ Recent posts