When I write the SQL query in dynamic input tool for the Oracle database, I was getting the following error.
I was to able to use the above query in dynamic input tool while using SQL server connection, but not able to use the same query for Oracle connection. Any help on this, please ?
Solved! Go to Solution.
At a guess, the way Oracle handles parsing the SQL is different to SQL Server.
I think SQL Server would interpret the invalid Date x as a NULL but Oracle wants it to be a valid Date.
I would suggest putting a valid placeholder date rather than an x.
@jdunkerley79 But here date 'x' is a dynamic argument from another database, and x is replaced with 'update where clause' in dynamic input tool. Any idea on how to pass a valid date?
You can target any specific string to replace within a Dynamic Input:
I would pick a random date you know wont be in and target that (1872-06-12 usual is my default!)
@jdunkerley79 your solution is working, also I have changed the where clause like this >= To_Date('x', 'YYYY-MM-DD'), this is also working. Thank you.