Oracle SCN与时间的相互转换
1.SCN转换成时间
select scn_to_timestamp(current_scn) from v$database;
2.时间转换成SCN
select timestamp_to_scn(sysdate) from v$database;
2021-10-04 00:04:22
1.SCN转换成时间
select scn_to_timestamp(current_scn) from v$database;
2.时间转换成SCN
select timestamp_to_scn(sysdate) from v$database;