Incorrectly Stored Dates in a Database
(Doc ID 331831.1)
Last updated on APRIL 03, 2019
Applies to:Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
You might sometimes find a DATE column in a database with incorrectly stored data. For example you might select a DATE and get returned the value '00-DECEMB', or '00-000-0000', and other things that are obviously incorrect dates.
You might also notice unexpected errors like:
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
Of course there are many situations in which this is a correct error, but at times you might expect that only correct dates are stored but you still hit this error, in that case the issues discussed in this note could be worth looking at.
This note is intended to assist in debugging situations in which you might find incorrectly stored data in the database.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|known Oracle issues:|