I am getting the error in the below sql:
ORA-01858: a non-numeric character was found where a numeric was expected
SELEC
This error can come not only because of the Date conversions
This error can come when we try to pass date whereas varchar is expected or when we try to pass varchar whereas date is expected.
Use to_char(sysdate,'YYYY-MM-DD') when varchar is expected