oracle 誤刪除數據,回退表數據


select * from sh_gonghuo_renyuan as of timestamp to_timestamp('2017-11-17 16:00:00','yyyy-mm-dd hh24:mi:ss');  

--3、恢復刪除且已提交的數據

alter table sh_gonghuo_renyuan enable row movement;

--flashback table sh_gonghuo_renyuan to timestamp to_timestamp('2017-11-17 16:00:00','yyyy-mm-dd hh24:mi:ss');
 flashback table sh_gonghuo_renyuan to timestamp (systimestamp-interval '30' minute)
 --最后通過這個解決


免責聲明!

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



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