my $sql = sprintf("select * from tablename where username IN (%s)", join ",", +("?") x @userArray); my $sth = $dbh->prepare($sql); $sth->execute(@userArray);
In reply to Re: DBD::Oracle 's DBI binding of arrays
by runrig
in thread DBD::Oracle 's DBI binding of arrays
by adrive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |