?
Solved

How to rollback the transaction.

Posted on 2013-06-20
3
Medium Priority
?
250 Views
Last Modified: 2013-06-20
I have accidently updated the table with wrong condition.How to roll back or undo it.
0
Comment
Question by:searchsanjaysharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Accepted Solution

by:
Louis01 earned 750 total points
ID: 39261814
If you are not in a transaction, your only option is to restore a backup. You can restore the backup in a different db name and UPDATE from the restored DB.

If you are still in a transaction:

ROLLBACK TRANSACTION
GO

Open in new window

0
 

Assisted Solution

by:Duldol
Duldol earned 750 total points
ID: 39261818
Give ApexSQL a try. it can read the transaction logs and recover data.

http://www.apexsql.com/sql_tools_log.aspx
0
 

Author Closing Comment

by:searchsanjaysharma
ID: 39261829
tx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question