Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Change Detection/Rollback Required
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

20 Posts

Posted - 07/28/2007 :  03:40:33  Show Profile  Click to see Weekend's MSN Messenger address  Send Weekend a Yahoo! Message  Reply with Quote

My table’s data is deleted by unknown person.
I can detect some thing about it i.e. user name, time, etc of this event?

Is there any way to rollback changes though logs?


Patron Saint of Lost Yaks

30421 Posts

Posted - 07/28/2007 :  04:53:49  Show Profile  Visit SwePeso's Homepage  Reply with Quote
1) Restore lastest backup taken before disaster
2) Check out third party tools to rollback from transaction log.

But the real question is, how did an "unknown person" gain access to your data and had permission to delete it?

E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

Flowing Fount of Yak Knowledge

2365 Posts

Posted - 07/30/2007 :  10:48:12  Show Profile  Reply with Quote
Put a trigger on the table to save this information to a log table:
(CONVERT([varchar](100),(((((host_name()+':')+suser_sname())+'(')+user_name())+') - ')+app_name(),(0)))

e4 d5 xd5 Nf6
Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000