PDA

Click to See Complete Forum and Search --> : OpenSchema perhaps?


JasonGS
Jun 6th, 2000, 08:20 AM
Does anyone know how to retrieve a list of who is currently connected to a SQL Server 7 database???

Clunietp
Jun 6th, 2000, 11:58 AM
Hi Jason

Login to the MASTER database, and SELECT * FROM SYSUSERS

Or you can peruse thru the SQL DMO object library to find it that way, but then you need the SQL server enterprise manager installed on your clients.....

Tom

Clunietp
Jun 6th, 2000, 01:05 PM
My Bad!

Use SELECT * FROM SYSPROCESSES

SYSUSERS lists the users, not the active users

SYSPROCESSES will list all processes from the system and active users