I am trying to run an SQL from my C code using Pro*c. This is my SQL
EXEC SQL select count(1) from MY_TABLE where id IN ( :format );
id is a NUMBER(10) and format is a char array containing value 1,2,3,4,5
This is returning error with "Not a Number" However if the format array is just a single number, its running fine. Please let me know if someone find the error.
Thx!