-------------------------------------------------------begin-------------------------------------------------------

 

1、查询commit之前的数据(这一步是为了确认第3步的回退时间)

 select * from 表名 as of timestamp to_timestamp('2018-07-25 11:35:00', 'yyyy-mm-dd hh24:mi:ss');
2、启用行移动功能(这一步必须在第3步之前执行)
alter table 表名 enable row movement;

3、执行闪回语句

flashback table 表名 to timestamp to_timestamp('2018-07-25 11:35:00', 'yyyy-mm-dd hh24:mi:ss');

亲测,回退成功。

 

-----------------------------------------------------------------------------

 

-------------------------------------------------------end-------------------------------------------------------磨刀不误砍柴工

 

相关文章:

  • 2022-12-23
  • 2019-09-05
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-01-10
  • 2022-01-25
相关资源
相似解决方案