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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

USERS 1

Status
Not open for further replies.

DirtyB

Programmer
Mar 13, 2001
159
US
We are having some licensing issues. How can you tell, at any given time, what users are currently logged into the database?
 
Run the Stored Procedure sp_who (For example from the Query Analyzer). It shows all the current connections to the server.


USE master
EXEC sp_who
 
THANK YOU...I knew there was a proc for it, but I just had never used it...It's much appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top