Quantcast
Channel: SCRIPTS – ORACLE-HELP
Viewing all articles
Browse latest Browse all 27

HOW TO CONVERT SCN TO DATE AND DATE INTO SCN

$
0
0

SQL>select current_scn from v$database;
7705798324

SQL> select timestamp_to_scn(to_timestamp('24/09/2012 14:24:54','DD/MM/YYYY HH24:MI:SS')) as scn from dual; 
SCN ---------- 7705798324 SQL>
SQL> select scn_to_timestamp(7705798324) as timestamp from dual; 
24-SEP-12 02.24.52.000000000 PM

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

Joel Perez’s LinkedIn: Joel Perez’s Profile

Anuradha’s LinkedIn: Anuradha’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post HOW TO CONVERT SCN TO DATE AND DATE INTO SCN appeared first on ORACLE-HELP.


Viewing all articles
Browse latest Browse all 27

Trending Articles