Link to home
Start Free TrialLog in
Avatar of MIHIR KAR
MIHIR KARFlag for India

asked on

Data_loss_issue

Is there any way to rollback a committed transaction in oracle 11g

I have made a delete from table in db and committed it, now I want to rollback the committed change. Is there any way to do it?

Please share a optimal solution .

thanks in Advance
Avatar of Pawan Kumar
Pawan Kumar
Flag of India image

Hi Mihir,

You cannot rollback a committed transaction but there is a concept of Flashback query , pls see if that helps.
Sample flash query for you -

INSERT INTO yourtable 
SELECT * FROM yourtable as of timestamp timestamp '2018-11-04 08:59:54' /* you need to pass the date and time */
MINUS
SELECT * FROM yourtable

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
MIHIR,

I also gave you the same thing but you have not accepted my comment. Why is like that ?
Avatar of MIHIR KAR

ASKER

Oho... my bad !! Sorry Pawan,  i was missed, your comment also was correct .
Not a problem , Please inform the moderators, they will reopen the question for you and then you can choose answers again. Thanks