How to track number of connections

  • Hi!

    I have an network application that can be installed on multiple computers in the same network. My problem is that i would like to be able to manage the maximum number of connection from a specific program to a specific database.

    It would make user licensing easier for me than having my app do the job!

    Any idea?

  • Does the app keep a connection open all the time or connect / disconnect.

    Can count the number of connection to a specific database for a specific hostname with a sp.

    Select Count(*) 
    
    From Master..SysProcesses
    Where Program_Name='SQL Query Analyzer'

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply