SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 list users who accessed a db
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rolandsantos
Starting Member

Philippines
24 Posts

Posted - 03/10/2008 :  02:59:22  Show Profile  Reply with Quote
guys, how can i list the users who accessed a database for the last 2 days? or users who deleted records on a table for the last 2 dyas?

thanks in advance

AndrewMurphy
Flowing Fount of Yak Knowledge

Ireland
2916 Posts

Posted - 03/10/2008 :  07:25:55  Show Profile  Reply with Quote
not unless you had profiler running for the past 2 days tracing all SQL statements.
or
your code, self-logs who is running each step....

and
not unless you have triggers on the tables re the 2nd question
Go to Top of Page

rolandsantos
Starting Member

Philippines
24 Posts

Posted - 03/10/2008 :  20:58:43  Show Profile  Reply with Quote
No i don't have a profiler or trace running. Also, my audit logs is selected to "none". I just thought maybe that there is any way or trick to list users who logs or what commands they executed for a specific period of time.
Go to Top of Page

rmiao
Flowing Fount of Yak Knowledge

USA
7266 Posts

Posted - 03/10/2008 :  22:24:48  Show Profile  Reply with Quote
You need auditing tool running to know who used table. For deleting history, try Lumigent's Log Explorer.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000