1.查詢你執行update 語句之前的數據 精確到什么時間
select * from 表名 as of timestamp to_timestamp('2017-07-21 17:16:38', 'yyyy-mm-dd hh24:mi:ss');
2.開啟可移動數據命令,執行完就可以回滾數據
alter table 表名 enable row movement;
3.回滾 update 語句前的數據
flashback table 表名 to timestamp TO_TIMESTAMP('2017-07-21 17:16:38', 'yyyy-mm-dd hh24:mi:ss');
注:可以回滾delete數據,不可以回滾truncate數據。