Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Undoing a bad UPDATE statement

T.BoydAug 23 2016 — edited Aug 23 2016

RDBMS version: 11.2.0.4

OS : Oracle Linux 6.4

One of my application support team member accidently ran an UPDATE statement without a WHERE clause from SQL*Developer. The table which was being updated was 50GB in size. After realizing the mistake, he informed the DBA and his session was killed.

If that UPDATE (or any bad DMLs) managed to complete and COMMIT was issued, then it would have been a disaster.

How can I undo a bad UPDATE which is COMMITted in the DB?  I would like to know the options available to me in such an emergency ? Is RMAN restore the only option ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2016
Added on Aug 23 2016
9 comments
1,197 views