Is there a function built into Oracle that will return the highest possible date that may be inserted into a date field?
Another ways, just for fun:
SELECT to_date(5373484, 'J') + (1 - 1/24/60/60) FROM dual; SELECT date '9999-12-31' + (1 - 1/24/60/60) FROM dual;