1、 -- 查询你执行update 语句之前的数据 精确到什么时间

  select * from 表名 as of timestamp to_timestamp('2017-07-21 17:16:38', 'yyyy-mm-dd hh24:mi:ss');

2、 -- 开启可移动数据命令,执行完就可以回滚数据

   alter table 表名 enable row movement;

3、 --正式回滚 update 语句前的数据

    flashback table 表名 to timestamp TO_TIMESTAMP('2017-07-21 17:16:38', 'yyyy-mm-dd hh24:mi:ss');

只是针对ORACLE 处理。


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



来源:CSDN
原文:https://blog.csdn.net/dan521chuang/article/details/78431912

相关文章:

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