in reply to DBI Out parameters
Functions in pl/sql only take input arguments so your second bound parameter should be a simple bind_param call and if the function argument is something special (e.g., a cursor which it does no look like here) you may need an extra arg to bind_param to specify the type - see the pod.
What does your function return? A value of undef in '$id' is perfectly possible if you function returns NULL.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI Out parameters
by almut (Canon) on Nov 19, 2008 at 14:20 UTC | |
by mje (Curate) on Nov 19, 2008 at 14:43 UTC | |
by almut (Canon) on Nov 19, 2008 at 15:05 UTC | |
by mje (Curate) on Nov 19, 2008 at 16:12 UTC | |
|
Re^2: DBI Out parameters
by Anonymous Monk on Nov 19, 2008 at 14:29 UTC | |
by almut (Canon) on Nov 19, 2008 at 14:37 UTC | |
by mje (Curate) on Nov 19, 2008 at 14:52 UTC |