Well, I will answer my own.
I had to use the following:
sp_who
in which information about the currently connected users and sessions was displayed, I then remembered the Activity Monitor, which shows the same material ... In any case, this led me from my desk to someone who supported database connections against mine ...
In any case, when I shut down the computer (turning it off ... deserved it), I could run SQL to change it to MULTI_USER mode (using the system administrator user):
USE Master GO ALTER DATABASE dbname SET MULTI_USER; GO
FYI for those concerned, this can be used to immediately set the database to SINGLE_USER :
ALTER DATABASE dbname SET SINGLE_USER WITH ROLLBACK IMMEDIATE; GO
For more information, if you know the process ID, you can use kill pid :
kill 62
At the same time, SSMS creates a process for your user, in my case it was rejected due to another.
EDIT: Like Bobby's recommendations, we can use:
sp_Who2
This may show us which process is blocked by another process.
source share