문제

There are around 1500 records updated in my database and unfortunately, I had committed the changes. I could remember that there is an option to rollback the changes in oracle 11g.

I am using Toad tool and I had run the below query

    FLASHBACK TABLE abc  TO TIMESTAMP (SYSTIMESTAMP - INTERVAL '15' minute);

Got an alert message stating that "cannot flashback the table as the row movement is not enabled."

Can you please help me in implementing the command and rollback the committed changes on the 1500 records?

도움이 되었습니까?

해결책

To enable row movement for your table:

alter table abc enable row movement;

But I'd recommend making a backup of the current state of your table first before you perform any DML / DDL statements.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top