my $sth = $dbh->prepare_cached($sql); # or simply ->prepare $sth->execute(@arguments) $sth->bind_columns(\my ($id, $name, other columns ...)); while ($sth->fetch) { print "$id: $name\n"; }
In reply to Re: how to deal with multiple results returned by select statement
by moritz
in thread how to deal with multiple results returned by select statement
by PhillipHuang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |