ORA-01840: input value not long enough for date format error
While executing
UPDATE W_HRZ SET COMPLETE_DT = to_number(to_char(to_date(to_char(service_dt_wid),'YYYYMMDD')-120,'YYYYMMDD'));
I am facing below error
ERROR at line 1:
ORA-01840: input value not long enough for date format
Can somebody help me.
Thanks