Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user

Status
Not open for further replies.

froggy2

IS-IT--Management
Jun 25, 2004
1
CA
how can I do to know the exact number of user connected in the server.

thanks
 
Hi froggy2,
Following statement will give you an idea.
select count(distinct b.name)
from master..sysprocesses a, master..syslogins b
where a.suid=b.suid

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top