title: Database Stuck in a Single User Mode in SQL Server
body: <p>Our new DBA has taken the database into a single user mode to perform the detach- attach operation but by mistake he closed the sesion.
  And ever since then nobody is able to access that database.</p>
  
  <p>I tried to find the session ID by using sp_who2 but it is not showing any session ID on that database.</p>
  
  <p>I am using "SQL Server 2016 Standard Edition" on "Windows server 2016".</p>