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
 General SQL Server Forums
 New to SQL Server Programming
 How can I find Who delete records last week
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jooorj
Posting Yak Master

126 Posts

Posted - 05/25/2011 :  09:06:10  Show Profile  Visit jooorj's Homepage  Reply with Quote
How can I find Who (user id) delete records last week /last month?
in sql databases?
is there any third party? or from sql server 2008 MSSM .
Thank you

sunitabeck
Flowing Fount of Yak Knowledge

5155 Posts

Posted - 05/25/2011 :  09:22:28  Show Profile  Reply with Quote
I don't think you can, unless you had set up some type of audit or trace beforehand. There is none that is set up by default.
Go to Top of Page

jfarrugia
Yak Posting Veteran

55 Posts

Posted - 05/26/2011 :  04:21:24  Show Profile  Reply with Quote
deletes at times can be found in sql server logs if enabled.. truncates will NOT.

Where software development knowledge meets the reader
Go to Top of Page

ahmeds08
Aged Yak Warrior

India
667 Posts

Posted - 05/26/2011 :  04:51:57  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
you need to create a trigger to audit DML operations for that...
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.05 seconds. Powered By: Snitz Forums 2000