Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: DB2 error: "Can't bind unknown parameter marker ':p4'"

by runrig (Abbot)
on Jan 19, 2013 at 17:15 UTC ( [id://1014214]=note: print w/replies, xml ) Need Help??


in reply to DB2 error: "Can't bind unknown parameter marker ':p4'"

AnonyMonk above has it right...you have 3 ?'s, and 4 binds. If you are trying to get the return value from the stored procedure, try using the $sth->{db2_call_return} attribute.

Replies are listed 'Best First'.
Re^2: DB2 error: "Can't bind unknown parameter marker ':p4'"
by shanknbake (Initiate) on Jan 22, 2013 at 02:33 UTC
    $sth->{db2_call_return}; is EXACTLY the thing I've been missing!!! Thank you so much! I've not ONCE seen an example where someone uses that! TYVM!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1014214]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-23 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found