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!

Who last logon/logoff to the SQL Server?

Status
Not open for further replies.

GeeWond3r

IS-IT--Management
Sep 5, 2003
65
US
Where would I find who last logged on/off from the SQL Server during a paricular period (let's say from 2pm to 5pm yesterday).

Out of the blues, my web pages was unable to access the database. So I'm trying to troubleshoot where the problem is. I had to restart the db server for it to work again.

Any ideas/suggestions would be helpful..
 
In Enterprise Manager, expand down to Management, expand that, expand SQL Server Log, look in the latest log. If Auditing is set for the instance then the log will have who logged on and off.

-SQLBill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top