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

Determining users logged on in a database.

Status
Not open for further replies.

McCabeTC

Programmer
Aug 6, 2003
28
US
Hi,

I know this forum is mostly for SQL programming issues, but I was wondering if anybody knows of a tool (as part of SQL Server or not), that would allow me to see all the users logged on/using a particular database at a certain time (maybe something similar to LDB Viewer for Access?). I do not know much about SQL administration; therefore, I would appreciate any help you can give me on that.

Thank you,

TM
 
You can use the system stored procedure "sp_who" to see who is logged in to the server. The database that they are logged in to will also display.



-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
You're welcome.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top