Oracle 修改數據庫表數據提交之后進行回滾


--查看歷史數據
select * from test1 as of timestamp to_timestamp('2018-12-23 14:41:00', 'yyyy-mm-dd hh24:mi:ss');
--開啟可移動數據命令
alter table test1 enable row movement;
--查看flashback功能是否開啟 為no表示未開啟
select open_mode,log_mode,flashback_on from v$database;
--正式回滾數據
flashback table test1 to timestamp to_tomestamp('2018-12-23 14:41:00','yyyy-mm-dd hh24:mi:ss');

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM