Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » ORA-01861: literal does not match format string (ORACLE, APEX 12C WINDOWS 11)
ORA-01861: literal does not match format string [message #690355] Mon, 26 May 2025 07:56 Go to next message
hissam78
Messages: 196
Registered: August 2011
Location: PAKISTAN
Senior Member
Dear Experts,
Following error showing due to Date column, other is ok, when data upload in Apex through excel. pls. help

ORA-01861: literal does not match format string
thanx
Re: ORA-01861: literal does not match format string [message #690356 is a reply to message #690355] Mon, 26 May 2025 08:42 Go to previous messageGo to next message
Michel Cadot
Messages: 68758
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

ORA-01861: literal does not match format string
 *Cause:  Literals in the input must be the same length as literals in
  the format string (with the exception of leading whitespace).  If the
  "FX" modifier has been toggled on, the literal must match exactly,
  with no extra whitespace.
 *Action: Correct the format string to match the literal.


  • Do not rely on implicit format (NLS_DATE_FORMAT, NLS_DATE_LANGUAGE)
  • Always apply an explicit format on TO_DATE and TO_CHAR(datetime)
  • TO_DATE on a DATE data often leads to this error
Re: ORA-01861: literal does not match format string [message #690357 is a reply to message #690356] Mon, 26 May 2025 23:24 Go to previous message
hissam78
Messages: 196
Registered: August 2011
Location: PAKISTAN
Senior Member
grateful for reply, thanks a lot
Previous Topic: How to send email with OAuth (merged)
Goto Forum:
  


Current Time: Mon Jun 09 23:18:31 CDT 2025