--闪回 回退已删除的数据
select * from NCMS_SPECIALIST_CHRONIC as of timestamp to_timestamp('2019-12-16 9:04:00', 'yyyy-mm-dd hh24:mi:ss');
--开启这张表的状态
alter table NCMS_SPECIALIST_CHRONIC enable row movement;
flashback table NCMS_SPECIALIST_CHRONIC to timestamp TO_TIMESTAMP('2019-12-16 9:04:00', 'yyyy-mm-dd hh24:mi:ss');
--关闭
alter table NCMS_SPECIALIST_CHRONIC disable row movement;
内容来源于网络如有侵权请私信删除
文章来源: 博客园
- 还没有人评论,欢迎说说您的想法!