SQL Server/T-SQL Tutorial/System Settings/CONNECTIONS
@@CONNECTIONS Returns the number of connections made to the SQL Server instance since it was last started.
<source lang="sql">
3> 4> SELECT "Connections" FunctionNM, @@CONNECTIONS 5> GO FunctionNM
-----------
Connections 345 (1 rows affected)</source>