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
 Database Design and Application Architecture
 How to check number connections open

Author  Topic 

ivacacela
Starting Member

10 Posts

Posted - 2007-10-01 : 15:22:07
Hi,

Please, I like to know how can I check what is the number of connections already opened for an specific Database on SQL Server 2005, programmatically.

Thanks in advance.

Ivan

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-10-01 : 15:31:47
Check out master.dbo.sysprocesses

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -