Oracle 相关知识汇总(简编)

闪回

--查询历史数据
select * from 表名 as of timestamp to_timestamp('20210811 17:30:00','yyyymmdd HH24:mi:ss');

--开启表的行移动功能
alter table 表名 enable row movement;
--闪回
flashback table 表名 to timestamp to_timestamp('20210811 17:30:00','YYYYMMDD HH24:MI:SS');
posted @ 2021-08-12 10:36  Moogle  阅读(40)  评论(0)    收藏  举报