use master
go
declare @s varchar(max)
set @s=''
select @s=@s+'; kill '+rtrim(spid) from master..sysprocesses where dbid=db_id('sower_new')
exec(@s)
go
alter database sower_new set multi_user
last time I change the Authority to "Single " for the SQL2005,
after that ,I can not access or implement or modify or delete the Database .
It's so depress .
thanks for my friends help to solve the problem .
本文记录了一次将SQL Server 2005设置为单用户模式后导致无法访问数据库的问题,并分享了如何通过执行特定SQL命令来解决这一难题。
8223

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



