sqlserver中更改数据库所属为dbo的方法,需要的朋友可以参考下。
代码如下:
sp_configure 'allow updates','1'
go
reconfigure with override
go
update sysobjects set uid=1 where uid1
go
sp_configure 'allow updates','0'
go
reconfigure with override
在查询分析器里面执行一次就行,执行第二次会报错
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn