Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by Anonymous Monk
on Jan 19, 2013 at 08:31 UTC ( #1014183=note: print w/ replies, xml ) Need Help??


in reply to Re^3: DB2 error: "Can't bind unknown parameter marker ':p4'"
in thread DB2 error: "Can't bind unknown parameter marker ':p4'"

Incrase DBI->trace level (3) and see what you get, compare that to "data studio tool" for similar

I guess the :p4 refers to  $sth->bind_param_inout(4,\$returnValue,20); , that is the 4th bind_param, but you only have three placeholders (?,?,?)

So unless mySchema.myStoredProcedure somehow has a placeholder (i've never used one), there is your problem


Comment on Re^4: DB2 error: "Can't bind unknown parameter marker ':p4'"
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2015-07-01 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (22 votes), past polls