要注意的是,最好打开归档模式,否则可能空间不够

一:根据时间恢复

select * from temp;

delete from tempwhere EMPNO=7369;

查询当前电脑时间:

select to_char(sysdate,'yyyy-mm-dd hh24:mi:ss')from dual;

查询删除之前数据:

select * from tempas of timestamp to_timestamp('2018-04-12 09:12:11','yyyy-mm-dd hh24:mi:ss');

恢复数据:

flashback table tempto timestamp to_timestamp('2018-04-12 09:12:11','yyyy-mm-dd hh24:mi:ss');

若出现报错:ORA-08189:未启用行移动功能,不能闪回表;

则:

alter table temp enable row movement;

相关文章:

  • 2021-10-08
  • 2021-08-21
  • 2022-12-23
  • 2021-09-15
  • 2022-01-17
  • 2021-12-31
  • 2022-12-23
  • 2021-04-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-12-10
  • 2021-11-30
  • 2022-03-07
  • 2021-09-30
相关资源
相似解决方案