oracle 表回退


1.查詢某一時刻的該表的狀態

select * from 表名 as of timestamp to_timestamp('2020-10-20 16:47:00', 'yyyy-mm-dd hh24:

2.開啟表回退(閃回)

alter table 表名 enable row movement;

3.回退到某一時間點

select * from 表名 as of timestamp to_timestamp('2020-10-20 16:47:00', 'yyyy-mm-dd hh24:mi:ss');

4.關閉表回退(閃回)

alter table 表名 disable row movement;
 
         
         
       


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM