Oracle系统变更号
1.获取系统当前的变更号:dbms_flashback.get_system_change_number();
2.时间戳与变更号之间的互转:
timestamp_to_scn(:timestamp),
scn_to_timestamp(:scn)
3.变更号在查询过程中的使用:
select * from xj_teacher as of scn :scn
Keep writing -- Code & Article
1.获取系统当前的变更号:dbms_flashback.get_system_change_number();
2.时间戳与变更号之间的互转:
timestamp_to_scn(:timestamp),
scn_to_timestamp(:scn)
3.变更号在查询过程中的使用:
select * from xj_teacher as of scn :scn