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
 General SQL Server Forums
 New to SQL Server Programming
 how many connection in database

Author  Topic 

pamyral_279
Posting Yak Master

143 Posts

Posted - 2008-12-10 : 05:10:58
Hi all,
My server use sql server 2005.My web application to connect database,now i want to see how many connection access at that time ?
How can i do ?

Thank you very much.

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-12-10 : 10:05:57
sp_who2 active
or
SQL profiler with filter on Databasename and choose Loginname.
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-12-10 : 10:08:02
Or see all sessions organized by Login using standard reports
or
Top connections (if you need to see it)
Go to Top of Page
   

- Advertisement -