hi guys,
i am trying to use an array of strings to pass into a database as host variables it is yelling at me..is there any way to do that..here is the sample
EXEC SQL BEGIN DECLARE SECTION;
char **input;
long customerIdentifier;
long cardNumber;
EXEC SQL END DECLARE SECTION;
EXEC SQL INSERT INTO MY.Table (A,B,C,D,E)
values input[1],:input[2],:input[3],:customerIdentifier,:cardNumber);
************
the above chunk throws me an error saying i cannot use input[] any Suggestions
Thanks in Advance
i am trying to use an array of strings to pass into a database as host variables it is yelling at me..is there any way to do that..here is the sample
EXEC SQL BEGIN DECLARE SECTION;
char **input;
long customerIdentifier;
long cardNumber;
EXEC SQL END DECLARE SECTION;
EXEC SQL INSERT INTO MY.Table (A,B,C,D,E)
values input[1],:input[2],:input[3],:customerIdentifier,:cardNumber);
************
the above chunk throws me an error saying i cannot use input[] any Suggestions
Thanks in Advance