USING @@CONNECTIONS VARIABLE

Posted on : 20-06-2011 | By : Devi Prasad | In : SQL SERVER VARIABLES, SQLServerPedia Syndication

Share:

0


@@CONNECTIONS Variable contains the number of connections that were called on to the SQL Server Service.
This number includes both Successfull and unsuccessful connections.
Basic Syntax for using @@CONNECTIONS:

[sql]SELECT @@CONNECTIONS[/sql]
 

Output for the Above query would give the following depending up on your server:

 




References : Devi Prasad (sqlserverlearner.com)

Need Help On SQL Server?

Cannot Find Solution to your problem (or) If you are looking for some help on SQL Server. Dont worry Click Here to Post your question and solve your issue.


Do you like my blog?

If you liked reading this blog, please help spread the word by sharing this blog with your friends.




Write a comment



Tags: , , , , , , , , , , , , , , ,