Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Ravikanth.

Asked: November 30, 2016 - 9:11 pm UTC

Last updated: December 01, 2016 - 1:13 am UTC

Version: oracle 12c

Viewed 1000+ times

You Asked

Hello AskTom team,

Would this be an issue with Oracle?

https://en.wikipedia.org/wiki/Year_2038_problem

Thanks!

and Connor said...

Not for the database *directly*, eg

SQL> select sysdate+100000 from dual;

SYSDATE+10
----------
16/09/2290

1 row selected.

SQL> select sysdate+200000 from dual;

SYSDATE+20
----------
01/07/2564

1 row selected.

SQL> select sysdate+500000 from dual;

SYSDATE+50
----------
14/11/3385

1 row selected.


Of course, the database gets it date information from a call to the OS. So if the OS returns garbage it might be an issue, but that would be an OS bug that needs to be resolved.

Is this answer out of date? If it is, please let us know via a Comment