Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by runrig (Abbot)
on Jan 19, 2013 at 17:15 UTC ( #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.


Comment on Re: DB2 error: "Can't bind unknown parameter marker ':p4'"
Download Code
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
Node Status?
node history
Node Type: note [id://1014214]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2014-12-18 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (44 votes), past polls