totn Oracle Error Messages

Oracle / PLSQL: ORA-01821 Error Message

Learn the cause and how to resolve the ORA-01821 error message in Oracle.

Description

When you encounter an ORA-01821 error, the following error message will appear:

  • ORA-01821: date format not recognized

Cause

You tried to enter a date value, but you used a date format that is not supported by Oracle.

Resolution

The option(s) to resolve this Oracle error are:

Option #1

Check the date formats recognized by the TO_DATE function. Correct the format and retry.