users list

  • Hi All,

    How can we find out how many users are connecting to the SQL database through applications.

    i am using sp_who2 but i want database wise.

    can any one please let me know how to find out query.

    thanks, kumar

  • Hi,

    I think you can query SYSPROCESSES table; there is DBID returned and corresponding DB can be found from SYSDATABASES table.

    [font="Verdana"]Renuka__[/font]

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

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