If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Any command/tool to un-do the updates on a table ??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-13-11, 20:57
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Any command/tool to un-do the updates on a table ??

db2v9.5.4 on win2k3

Friends,

Do we have any command or tool otherwise available to rollback the updates done by mistake ?

I am talking about development environment. A developer calls me to un-do the bad updates that he had commited to a table.


I am sure there should be some tool to bring the table to the state before the transaction. Same as oracle's flashback recovery.


Please help !!
Reply With Quote
  #2 (permalink)  
Old 01-14-11, 03:03
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by DBFinder View Post

I am sure there should be some tool to bring the table to the state before the transaction.
Why are you sure about that? DB2 does not have such features. Your only option is to restore the database and rollforward it to the point in time just before the unwanted transaction.
Reply With Quote
  #3 (permalink)  
Old 01-14-11, 08:23
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Quote:
Originally Posted by n_i View Post
Why are you sure about that?
Not sure why. DB2 being about 10th major version ; no body noticed it.

Good to know; I will try to write my own.

Thanks for your response.

DBFinder

Last edited by DBFinder; 01-14-11 at 22:51.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On