How do you obtain the maximum possible date in Oracle?

前端 未结 5 1025
傲寒
傲寒 2020-12-10 11:25

Is there a function built into Oracle that will return the highest possible date that may be inserted into a date field?

5条回答
  •  北海茫月
    2020-12-10 11:41

    I do not know of a function but according to this article:

    Oracle 7: from January 1, 4712 BC to December 31, 4712 AD.
    Oracle 8: from January 1, 4712 BC to December 31, 9999 AD.
    Oracle 9: from January 1, 4712 BC to December 31, 9999 AD.
    PL/SQL: from January 1, 4712 BC to December 31, 9999 AD.

提交回复
热议问题