Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 10th, 2006, 05:50 AM
Authorized User
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to salemkoten
Default Limited users connected at once.

Who answers to me that how many limited users connected to MSSQL 2005 at once.
Thanks in advance.

 
Old October 10th, 2006, 08:00 AM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

In a query windows, exec the following:

EXEC sp_configure

In the Results pane, scroll down until you see "user connections" in the Name column. Then look to the right and you will see Minimum and Maximum values. The minimum is 0 and the Maximum (default) is 32767.


Scott Klein
Author - Professional SQL Server 2005 XML
http://www.wrox.com/WileyCDA/WroxTit...764597922.html
 
Old October 10th, 2006, 08:02 AM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

To see who is running, run the following in a query Window:

EXEC sp_who

OR

EXEC sp_who2

Records with a spid over 50 is a user. This will tell you how many users are currently connected.

Scott Klein
Author - Professional SQL Server 2005 XML
http://www.wrox.com/WileyCDA/WroxTit...764597922.html
 
Old October 10th, 2006, 08:40 PM
Authorized User
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to salemkoten
Default

Thanks.
And what about MSSQL 2005 express?

 
Old October 10th, 2006, 09:15 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hmmm, good question. Honestly, I wouldn't think it limits the number of users.

I checked the following link and couldn't find anything about number of supported users.

http://www.microsoft.com/sql/prodinf...-features.mspx

However, Express wasn't meant to go running hundreds of users.

Scott Klein
Author - Professional SQL Server 2005 XML
http://www.wrox.com/WileyCDA/WroxTit...764597922.html
 
Old October 10th, 2006, 09:26 PM
Authorized User
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to salemkoten
Default

Thank you very much. This information is very useful for me.
Thanks again.
SLKT






Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i know the number of connected users ? babu009 SQL Server 2000 1 October 23rd, 2007 03:20 PM
Number of connected in users Scripts82 SQL Server 2000 1 March 21st, 2006 04:56 AM
Show No. of users connected in website kudzuconf ASP.NET 1.0 and 1.1 Basics 1 March 13th, 2006 11:11 AM
Dynamic in a limited environment? fs22 Javascript How-To 1 February 15th, 2006 07:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.