最简单的方法:
select scn_to_timestamp((
select current_scn from v$database))-scn_to_timestamp((select current_scn from v$database @备库)) TM from dual;
select scn_to_timestamp((
select current_scn from v$database))-scn_to_timestamp((select current_scn from v$database @备库)) TM from dual;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/308563/viewspace-2136305/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/308563/viewspace-2136305/