Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

set a databaseoff single user

$
0
0

Hi gurus

sql server 2008 r2 on 2008 r2 server

I need some help and hope you can point me to the direction, I have a database that shows (single user) and I all other dont show that labels, so I take the other DB are multiuser, so I have being trying to get this DB on the MU side, but when I tried 

Alter Database Databasename SET MULTI_USER,  but I get the following error

"

Msg 1205, Level 13, State 68, Line 1
Transaction (Process ID 58) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed."

I tried to use the kill command but  every time I run the ALTER command, the error comes back but with a different process ID

any help gurus will be really appreciated.

Thanks a Bunch

Fernando


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>