Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

How to "undo" a delete with cascades
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


Report this thread to moderator Post Follow-up to this message
Old Post
dsfsdfs878@tiscali.co.uk
08-30-05 12:24 PM


Re: How to "undo" a delete with cascades
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


Report this thread to moderator Post Follow-up to this message
Old Post
Razvan Socol
08-30-05 02:25 PM


Re: How to "undo" a delete with cascades
(dsfsdfs878@tiscali.co.uk)  writes:
> 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?

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.


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

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


Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
08-31-05 01:24 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:32 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006