可以使用dbms_flashback
SQL> select dbms_flashback
GET_SYSTEM_CHANGE_NUMBER
可以通過查詢x$ktuxe獲得最接近當前系統scn值
X$KTUXE
SQL> select max(ktuxescnw*power(
MAX(KTUXESCNW*POWER(
以前在l
[oracle@neirong oracle]$ sqlplus
SQL*Plus: Release
Copyright (c)
Connected to:
Oracle
With the Partitioning
JServer Release
SQL> col a for
SQL> oradebug setmypid
Statement processed
SQL> oradebug DUMPvar SGA kcsgscn_
kcslf kcsgscn_ [
SQL> select to_number(
A
SQL> select dbms_flashback
A
SQL>
方法有多種
From:http://tw.wingwit.com/Article/program/Oracle/201311/18872.html