sorry,sp_changeobjectowner是更改当前数据库中对象的所有者,显然不是楼主想要的。 只有通过update系统表,才可以。sp_configure 'allow updates','1' --启用更新系统表选项 goreconfigure with override goupdate sysobjects set xtype='S' where type='u' and name='a' --将表a设为系统表 gosp_configure 'allow updates','0' --禁用更新系统表选项(缺省) goreconfigure with override go
只有通过update系统表,才可以。sp_configure 'allow updates','1' --启用更新系统表选项
goreconfigure with override
goupdate sysobjects set xtype='S' where type='u' and name='a' --将表a设为系统表
gosp_configure 'allow updates','0' --禁用更新系统表选项(缺省)
goreconfigure with override
go