cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Year format not taking in properly

tharunkrishna16
New Contributor

Hi SL Community,

I am facing a hiccup when I am trying to call a child pipeline which pulls data from Oracle database. The error happens in all the snaps where a SQL statement has year written in the form of parameter. The error I get is an Oracle error ORA-01841 : full year must be between -4713 and +9999, and not be 0. But the year is not zero in any of the parameters I have defined. But when I try to validate the child pipeline separately, it doesnโ€™t throw any error. Please see the photos I have attached.

image SL_2 SL_3 SL_4

1 REPLY 1

akidave
Employee
Employee

See SQL Injection question - #2 by tstack about how to format the dynamic SQL statements, that should help with the date formatting issue also