Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.sql.SQLDataException: ORA-01843: not a valid month

2890297May 5 2017 — edited May 5 2017

Hi All,

I'm trying to generate XML for the Invoice data between :p_Start_Date and :p_End_Date

The Invoice_date column date format is in MM/DD/YYYY format .

SQL Query Condition:

-----------------------------------

AND A.INVOICE_DATE BETWEEN TO_DATE(:p_Start_Date,'MM/DD/YYYY') AND TO_DATE(:p_End_Date,'MM/DD/YYYY')

I have registered the program and while providing Input Parameters in below format:

pastedImage_36.png

Encountering below error.Please suggest how to resolve this error

XDO Data Engine Version No: 5.6.3

Resp: 20639

Org ID : 0

Request ID: 4794978

All Parameters: p_Start_Date="2016/01/01 00:00:00":p_End_Date="2016/01/10 00:00:00"

Data Template Code: CPD_AP_PO_INV_REPORT

Data Template Application Short Name: SQLAP

Debug Flag: N

{p_Start_Date=2016/01/01 00:00:00, p_End_Date=2016/01/10 00:00:00}

Calling XDO Data Engine...

--SQLException

java.sql.SQLDataException: ORA-01843: not a valid month

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2017
Added on May 5 2017
3 comments
13,209 views