I have a procedure which takes some input parameters as date.
When I try to execute my SP, here are the values assigned to each parameters
However when I execute I get an error message about the date format on the p_schedule_value parameter. Indeed we can see it does not pass the date in the specified format; instead it truncates the time and pass it as yyyy-MMM-dd
You can see on below screenshot the dynamic_sql in the output with the error message and the value of p_schedule_value
Why is my time being truncated ? it seems it ignores the TO_DATE conversion thanks
EDIT:
Tried to remove the TO_DATE in the SP, it compiles but the time is still being truncated. Only the date part is inserted in my row.