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');
只是針對ORACLE 處理。
---------------------
來源:CSDN
原文:https://blog.csdn.net/dan521chuang/article/details/78431912