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

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 max_connections and connections

Author  Topic 

svicky9
Posting Yak Master

232 Posts

Posted - 2006-03-19 : 17:41:32
Hi Friends

The statement
select @@max_connections -->returns 32767

whereas
select @@connections --->returns 577140

Is there any error in the number of connections???

If not whats the difference

thanks
Vic

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2006-03-19 : 18:27:18
see books online

@@max_connections
Returns the maximum number of simultaneous user connections allowed on a Microsoft® SQL Server™. The number returned is not necessarily the number currently configured.

@@CONNECTIONS
Returns the number of connections, or attempted connections, since Microsoft® SQL Server™ was last started.


Afrika
Go to Top of Page
   

- Advertisement -