use master
go
sp_configure 'allow updates ',1
go
reconfigure with override
go
EXEC sp_dboption 'pubs ', 'read only ', 'FALSE '--关闭只读
go
sp_configure 'allow updates ',1
go
reconfigure with override
go
EXEC sp_dboption 'pubs ', 'read only ', 'FALSE '--关闭只读
本文介绍如何通过执行 SQL 脚本的方式关闭 SQL Server 数据库的只读属性,包括使用 master 数据库进行配置更改的具体步骤。
1万+

被折叠的 条评论
为什么被折叠?



