Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Other SQL Server Topics / August 2005

Tip: Looking for answers? Try searching our database.

How to "undo" a delete with cascades

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dsfsdfs878@tiscali.co.uk - 30 Aug 2005 11:26 GMT
Hello,

Somebody accidently deleted a record with cascade deletes
and took out about 80 records.

The database has been used heavily since then.

How do I put back the data?

I have spent hours researching BOL and all I can find
is how to restore the database to a point in time.

But that will lose all the work done after the mistake.

(We do a full backup every week and log backup every day)

Is there a standard way to do this?

Morgan
Razvan Socol - 30 Aug 2005 15:14 GMT
Hello, Morgan

Restore the backup on another server (or as another database on the
same server) and then copy the missing rows (using a query that
accesses the linked server).

Razvan
Erland Sommarskog - 30 Aug 2005 22:37 GMT
> Somebody accidently deleted a record with cascade deletes
> and took out about 80 records.
[quoted text clipped - 11 lines]
>
> Is there a standard way to do this?

Yes, if you have bought one of those log-viewer tools, that offers
this function (by reading the transaction log, and from that generates
a script.) Check out http://www.lumigent.com and http://www.logpi.com
for two offerings.

Signature

Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.