Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004
    Posts
    1

    Unanswered: Who...Where...When???

    Is there any way to tell these basics for MS SQL Server 2000:
    1. Who last accessed the database
    2. When they accessed it
    3. From where (machine name) did they access it from
    Thanks

  2. #2
    Join Date
    Apr 2004
    Location
    Kansas City, MO
    Posts
    734
    Set up a profiler or trace to track logins. Include the hostname, StartTime, EndTime, and LoginName. Use a stored procedure to query the data for the results, including who accessed it last.
    MeanOldDBA
    derrickleggett@hotmail.com
    When life gives you a lemon, fire the DBA.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •