Oracle数据恢复

在使用Oracle的时候,突然一部小心update或者delete全部数据后怎么办?

select * from table as of timestamp to_timestamp('2017-06-26 16:01:01','yyyy-mm-dd hh24:mi:ss');
alter table table enable row movement;
flashback table table to timestamp to_timestamp('2017-06-26 16:01:01','yyyy-mm-dd hh24:mi:ss');

执行以上代码既可将代码恢复到2017-06-26 16:01:01这个时间点

相关文章:

  • 2021-12-03
  • 2021-11-30
  • 2021-11-30
  • 2021-11-30
  • 2021-11-30
  • 2021-06-29
  • 2021-10-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-04
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
相关资源
相似解决方案