title: How to list all connections in SQL Server?
body: <p>I am using this version of SQL Server</p>
  <pre><code>Microsoft SQL Server 2019 (RTM-GDR) (KB4517790) - 15.0.2070.41 (X64)   Oct 28 2019 19:56:59   Copyright (C) 2019 Microsoft Corporation  Developer Edition (64-bit) on Windows 10 Pro 10.0 &lt;X64&gt; (Build 19041: ) (Hypervisor) 
  </code></pre>
  <p>I run query</p>
  <pre class="lang-sql prettyprint-override"><code>select @@CONNECTIONS;
  </code></pre>
  <p>result</p>
  <pre><code>1629
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Tw35r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tw35r.png" alt="enter image description here" /></a></p>
  <p>I want list all of connections (in this case, 1629) to see what under the hood, how to do this?</p>