当前位置:Gxlcms > 数据库问题 > oracle 误删除数据,回退表数据

oracle 误删除数据,回退表数据

时间:2021-07-01 10:21:17 帮助过:23人阅读

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)
 --最后通过这个解决

oracle 误删除数据,回退表数据

标签:min   表数据   删除   back   提交   ash   sys   lte   alter   

人气教程排行