in reply to DBD::Oracle 's DBI binding of arrays
my $sql = sprintf("select * from tablename where username IN (%s)", join ",", +("?") x @userArray); my $sth = $dbh->prepare($sql); $sth->execute(@userArray);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBD::Oracle 's DBI binding of arrays
by andreas1234567 (Vicar) on Sep 21, 2007 at 08:37 UTC |