--1、找到自己執行update語句的時間
select r.FIRST_LOAD_TIME,r.* from v$sqlarea r where sql_text like '%update yzxdcfmx a set a.neir=(select%' order by r.FIRST_LOAD_TIME desc ;
--2、查詢該時間點的數據,是否為執行update前數據
select * from yzxdcfmx as of timestamp to_timestamp('2020-08-14/17:07:10', 'yyyy-mm-dd hh24:mi:ss')
--3、執行下面兩條SQL,即可將數據恢復到執行update之前
alter table yzxdcfmx enable row movement;
flashback table yzxdcfmx to timestamp to_timestamp('2020-08-14/17:07:10', 'yyyy-mm-dd hh24:mi:ss');