Connor and Chris will both be at AI World from October 12 to October 17 , the premier Oracle conference of 2025. If you're in Vegas, please come say Hi or pop into our sessions
Thanks for the question, Francisco.
Asked: August 10, 2018 - 4:58 pm UTC
Last updated: August 16, 2018 - 8:06 pm UTC
Version: 10.2.0.4.0 - 64bit
Viewed 10K+ times! This question is
SELECT To_Char(UTCSCANTIME-0.125,'YYYY-MM-DD HH24:MI:SS') AS LOCALSCANTIME Outcome: 2018-08-01 19:22:39
SELECT To_Char(UTCSCANTIME-0.125,'YYYY-MM-DD HH24:MI:SS.FF') AS LOCALSCANTIME Outcome: ORA-01821: date format not recognized
SELECT To_Char(UTCSCANTIME,'YYYY-MM-DD HH24:MI:SS.FF') AS LOCALSCANTIME Outcome: 2018-08-01 22:22:39.259000
select to_char(UTCSCANTIME - interval '3' hour,'YYYY-MM-DD HH24:MI:SS.FF') as LOCALSCANTIME from ...
A reader, August 20, 2018 - 7:52 pm UTC
select To_Char(UTCSCANTIME at time zone 'GMT','YYYY-MM-DD HH24:MI:SS') from ...
The Oracle documentation contains a complete SQL reference.