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