I have an INSERT
statement in a procedure with a date field in NUMBER format converted into DATE, but in some cases the conversion is not possible. I've tried to handle the exception with EXCEPTION
WHEN OTHERS THEN
but it doesn't insert any row.
I want to insert NULL
only in the DATE
field when conversion is not possible.
Do I have to use any cursor or collection?