更改所有表的所有者

1.使用存储过程:exec sp_msforeachtable 'sp_changeobjectowner ''shanlin'', ''dbo'''

原文地址:https://www.cnblogs.com/shanlin/p/2299773.html