joec_ has asked for the wisdom of the Perl Monks concerning the following question:
begin pkg.set(:array_of_ids, :array_of_param_names, :array_of_param_types, :array_of_values, 1); end;
When i pass in arrays using
$s->bind_param_array(":array_of_ids",\@id); for all the arrays and execute it with
$s->execute_array({ ArrayTupleStatus => \@tuple_status });
and run the script, i get a 'wrong number or type of arguments passed to set' error.
Please can anyone offer any advice on what i am doing wrong? Is it even possible to bind arrays in this way?
Thanks
Joe
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Arrays and Stored Procedures
by mje (Curate) on Nov 20, 2008 at 17:13 UTC | |
by joec_ (Scribe) on Nov 21, 2008 at 00:35 UTC | |
by mje (Curate) on Nov 21, 2008 at 08:43 UTC | |
|
Re: Arrays and Stored Procedures
by Bloodnok (Vicar) on Nov 20, 2008 at 17:09 UTC |