Re: More problems with bound parameters in DBD::ODBC

2012-09-05 Thread Martin J. Evans
On 04/09/12 23:15, Tim Bunce wrote: On Tue, Sep 04, 2012 at 11:28:17AM +0100, Martin J. Evans wrote: This issue cropped up because runrig posted a "DBI bind_param_inout trick" node (http://perlmonks.org/?node_id=989136) on perl monks which when I ran through DBD::ODBC did not work. The code is

Re: More problems with bound parameters in DBD::ODBC

2012-09-04 Thread Tim Bunce
On Tue, Sep 04, 2012 at 11:28:17AM +0100, Martin J. Evans wrote: > This issue cropped up because runrig posted a "DBI bind_param_inout trick" > node (http://perlmonks.org/?node_id=989136) on perl monks which when I ran > through DBD::ODBC did not work. The code is basically: > > my @cols = qw(fo

More problems with bound parameters in DBD::ODBC

2012-09-04 Thread Martin J. Evans
This issue cropped up because runrig posted a "DBI bind_param_inout trick" node (http://perlmonks.org/?node_id=989136) on perl monks which when I ran through DBD::ODBC did not work. The code is basically: my $dbh = DBI->connect; my @cols = qw(foo bar); my $sql =