今天在PL/SQL中操作不小心删掉了某个表的部分数据,这可吓坏了本猿;于是悄悄的打开电脑,赶紧找度娘帮忙。经过度娘的小爬虫帮助,几分钟就把数据恢复了。

  那么表数据delete掉后怎么恢复呢? 用flashback即可。

例:alter table 表名 enable row movement;

flashback table 表名 to timestamp to_timestamp('2017-10-09 00:00:00','yyyy-mm-dd hh24:mi:ss');

alter table disable row movement;

注:'2017-10-09 00:00:00'是你想回滚到的时间点

 

相关文章:

  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-11-30
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2021-04-17
  • 2022-12-23
  • 2022-01-31
  • 2021-09-30
  • 2022-12-23
相关资源
相似解决方案