But if we pass the statement handle to selectrow_arrayref it is throwing error.Which error? Please post the code which produces the error and the exact error message.
my $dbh = DBI->connect("dbi:...", $user, $pass); my $sql= "select ... from ..."; my $sth = $dbh->prepare($sql); my $row = $dbh->selectrow_arrayref($sth);
In reply to Re: dbi: selectrow_arrayref
by tinita
in thread dbi: selectrow_arrayref
by perlthirst
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |