SQLServer更改所有者方法

2014-11-07 22:01:35  访问(1832) 赞(0) 踩(0)

sp_configure 'allow updates','1'
go
reconfigure with override
go
update sysobjects set uid=1 where uid<>1 


go
sp_configure 'allow updates','0'
go
reconfigure with override

SELECT *
FROM sysobjects where uid = 5 and xtype = 'U'

 

update sysobjects set uid=1 where uid = 5 and xtype = 'U'



标签:SQLServer更改所有者方法    SqlServer操作    更改所有者 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)