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

Identifying last database access

Status
Not open for further replies.

SQLSquirrel

Technical User
Jun 14, 2005
20
CH
Can someone suggest and/or supply a quick and efficient generic solution to identifying the most recent access (date/time/logon id) on a SQLServer (7.0 and/or 2000) database? (excluding the id used by the SQLAgent)?
 
If you monitor the database with SQL Profiler you can see who is accessing your database in real time. SQL Does not track historically who is logged into the database.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top