Oracle SCN与时间的相互转换

Oracle SCN与时间的相互转换

 

1.SCN转换成时间

select scn_to_timestamp(current_scn) from v$database;

2.时间转换成SCN

select timestamp_to_scn(sysdate) from v$database;
posted @ 2021-11-05 01:29  耀阳居士  阅读(225)  评论(0编辑  收藏  举报