shanknbake has asked for the wisdom of the Perl Monks concerning the following question:
Error:
Can't bind unknown parameter marker ':p4'
My code:
I'm not sure what the problem could be... everything (AFAIK) seems right. Anyone have any ideas?my $returnValue; $sth = $self->GetDatabase()->prepare( "CALL mySchema.myStoredProcedure +(?,?,?)" ); $sth->bind_param(1,$p1); $sth->bind_param(2,$p2); $sth->bind_param(3,0); $sth->bind_param_inout(4,\$returnValue,20); $sth->execute(); $sth->finish();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: DB2 error: "Can't bind unknown parameter marker ':p4'"
by runrig (Abbot) on Jan 19, 2013 at 17:15 UTC | |
by shanknbake (Initiate) on Jan 22, 2013 at 02:33 UTC | |
Re: DB2 error: "Can't bind unknown parameter marker ':p4'"
by Anonymous Monk on Jan 18, 2013 at 04:02 UTC | |
by shanknbake (Initiate) on Jan 18, 2013 at 20:14 UTC | |
by shanknbake (Initiate) on Jan 18, 2013 at 23:16 UTC | |
by Anonymous Monk on Jan 19, 2013 at 08:31 UTC |
Back to
Seekers of Perl Wisdom