急呀!为什么用exec sp_dboption 'FOE','single user','true'报错.
错误信息:
Server: Msg 5070, Level 16, State 2, Line 1
Database state cannot be changed while other users are using the database 'FOE'
Server: Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
sp_dboption command failed.
更麻烦的是,我exec sp_dboption 'pubs','single user','true'也会出相同的错误,