I need to convert a string to a date so I can do a compare with what is in my column. My statement is this:
Decode(IsNew, FALSE,
IIF (v_save_view_row_obsolete_day <>
TO_DATE('9999-12-31 00:00:00 AM','YYYY-MON-DD HH24:MI:SS'),
'9999-12-31 00:00:00', v_save_view_row_obsolete_day))
When I validate I get this error: 