|
Cry How to...List all currently connected usersThe simplest way to list all users and processes is to use the system stored procedure:
to list all active users:
to list details about a particular user:
the same information (and more) can be found by
interrogating the system table master..sysprocesses, for
example the following is equivalent to '
but the table These notes have been tested against SQL Server 7. |