At 7:32 AM -0800 1/27/2004, Donson March wrote:
Quote:
I have the following code to do a prepared insert with place
holders(?) using SQLDA:
exec sql prepare pstatement into :sqlda from
"insert into table1(col1) values(?)";
[snip]
I am getting the following Ingres Error(code -32000) when executing
the prepared statmenet:
E_US08FC line 1, Argument(s) missing.
Any idea on what I am doing wrong here? Thanks. |
There's a counter in the sqlda (sqln? sqld? something like that)
that you have to set, showing the number of sqlvar's that you have set
up. You need to set it to 1.
I'm too lazy to look in the manual for the counter name but it's in
the manual along with all the other sqlda stuff.
Karl