My Oracle Support Banner

Fnd_date.canonical_to_date Is Not Working For Values Greater Than 01-Jan-2024 and Errors with ORA-01858 and ORA 06512 (Doc ID 2998123.1)

Last updated on FEBRUARY 28, 2024

Applies to:

Oracle Application Object Library - Version 12.2.10 and later
Information in this document applies to any platform.

Symptoms

Why fnd_date.canonical_to_date is not working for values greater than 01-Jan-2024 ?

select fnd_date.canonical_to_date('01-Jan-2023') from dual;

Above statement is working but if we pass '01-Jan-2024' it gives error message :
select fnd_date.canonical_to_date('01-Jan-2024') from dual;

ERROR
-----------------------
ORA-01858 a non numeric characterwas found where a numeric character was expected
ORA 06512 at APPS.FND_DATE line 149


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run the query
2.Error appears


Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.