当前位置:Gxlcms > 数据库问题 > oracle 数据误删恢复

oracle 数据误删恢复

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

查询该时间段 这个表的状态
select * from 表名

as of timestamp to_timestamp(‘2018-10-12 9:30:00‘, ‘yyyy-mm-dd hh24:mi:ss‘);

开启闪回
alter table 表名 enable row movement;

把表的状态闪回到这个时间段
flashback table 表名 to timestamp TO_TIMESTAMP(‘2018-10-12 9:30:00‘, ‘yyyy-mm-dd hh24:mi:ss‘);

用完记得关闭闪回
alter table 表名 disable row movement

oracle 数据误删恢复

标签:闪回   oracl   数据   rac   ora   ack   时间段   时间   time   

人气教程排行