Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 @@CONNECTIONS numbers
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 01/29/2013 :  10:50:06  Show Profile  Reply with Quote
SELECT GETDATE() AS 'Today''s Date and Time',
@@CONNECTIONS AS 'Login Attempts'



How accurate is this data? Is it really SQL Server login (success/failure) attempts
I use sql-server connected through ADO.NET only(99%)

1. direct login to website sqlserver and +
2..NET ADO.NET connection

This is my website sql-server shows this data.

Can anyone explains ?what is this all about.


5072 Posts

Posted - 01/29/2013 :  11:19:54  Show Profile  Visit russell's Homepage  Reply with Quote
Go to Top of Page

Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 01/30/2013 :  08:38:55  Show Profile  Visit jackv's Homepage  Reply with Quote
According to BOL : Returns the number of attempted connections, either successful or unsuccessful since SQL Server was last started.

Keep in mind a user can make multiple connections

Jack Vamvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000