Dear Experts,
We have migrated our database from 11g to 12c. We have some dynamic query in which date literal is been passed as INPUT to a procedure.
In 11g it was working fine with out TO_DATE function but in 12c we are getting ORA-00932:Inconsistent data types:Expected date got number issue.
Below is the NLS date format of our DB.
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_CHARACTERSET WE8ISO8859P1
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
Input format to the Procedure from UI:'07/14/2017 12:00:00 AM'
Please help me that why I couldn't execute the existing procedure in 12c which was working fine in 11g with out TO_DATE.
Thanks
Archana