| General Information |
| Library Note |
Morgan's Library Page Header
|
| Purpose |
Obtains the current SCN number |
| AUTHID |
DEFINER |
| Dependencies |
|
| Documented |
No |
| Security Model |
Owned by SYS with no privileges granted |
| Source |
{ORACLE_HOME}/rdbms/admin/prvthtxn.plb |
| |
| GET_CURRENT_SCN |
| Returns the current System Change Number |
dbms_transaction_internal_sys.get_current_scn(
base_ub1 IN BINARY_INTEGER,
wrap_ub2 IN BINARY_INTEGER)
RETURN NUMBER; |
SELECT dbms_flashback.get_system_change_number,
dbms_transaction_internal_sys.get_current_scn,
current_scn
FROM v$database;
GET_SYSTEM_CHANGE_NUMBER GET_CURRENT_SCN CURRENT_SCN
------------------------ --------------- -----------
916034039 916034039 916034039 |