Re: Recovery from Delete statement using the transaction logs

From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 02/17/05


Date: Thu, 17 Feb 2005 16:11:24 +0100

I assume you didn't protect the delete with BEGIN TRAN? If you did, just do ROLLBACK.

Are you performing regular transaction log backups? Is database in full or bulk logged recovery
mode? If answers to these questions are "no", you will probably need to go to your most recent
backup or just accept the data loss. If answers are "yes", you *might* be in better shape.

Anyhow, I suggest you read my article on the topic at:
http://www.karaszi.com/SQLServer/info_restore_log_several_times.asp

-- 
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Robert" <robert@expressprogramming.com> wrote in message 
news:179b01c51500$f58a6c00$a601280a@phx.gbl...
>I ran some delete statements in Query Analyzer and I
> found out it was the wrong database. Can you rollback the
> delete statements and recover the data from the
> transaction logs???? 


Relevant Pages

  • RE: Mirror or Repl.: failsafe & disaster recovery vs. maintainability
    ... This is one of the gotcha's with database mirroring and high safety. ... production servers and a third server can be utilized for a backup/mirror ... log shipping transaction log backups would need to be ...
    (microsoft.public.sqlserver.replication)
  • Is this some structural problem?
    ... Since upgrade, we have seen some strange behavior. ... We have witnessed exceedingly large database restoration timings. ... transaction log backups till I cleaned the drive and took a full backup. ...
    (microsoft.public.sqlserver.server)
  • Re: Fast roll-back
    ... locked will stay locked until the entire rollback is complete. ... If the session is killed or the database is restarted (before ... This means that killing a session (or in your extreme case bouncing ... The Co-operative Oracle Users' FAQ ...
    (comp.databases.oracle.server)
  • Re: just wondering about MSKB 828481
    ... seems to depend on the database being in other than ... > rollback I'll be OK. ... SQL Server doesn't, AFAIK, offer any native method for unravelling ... Steve Foster [SBS MVP] ...
    (microsoft.public.windows.server.sbs)
  • Re: log shipping failover to stand by server
    ... Disables the log-shipping transaction copy job on the standby server. ... Restores all transaction log backups not previously restored to the ... standby database and initiates the recovery of the standby database. ...
    (microsoft.public.sqlserver.replication)