I have a C program which uses embedded SQL. Very occaisionally a SQL INSERT statement fails with the error "ORA-01861: literal does not match format string". This insert (and table) has many columns (>50) so I don't know which column this error refers to. How can I find this out?
Some of my colleagues think it is a date format problem, but I can see different date formats that are handled OK without an error. There are no "to_date" or "to_char" conversions used and 1000's of similar statements get executed successfully every day.
I am unsure how to proceed from here.