Indicator variable doesn't work with functions
626351Mar 16 2009 — edited Mar 17 2009I can't get an indicator variable to work along with the "to_date" function when trying to insert into an Oracle table from a 'C' program. I am not always guaranteed to have a non-null date value when inserting into the table. Any ideas ?
EXEC SQL insert into table values (to_date(:local_date, 'yyyy-mm-dd') indicator :my_indicator, ......)
thanks,
Vicki