but of course it didn't work. How would be the best way to do this? I don't want to pass my parameters directly into my sql strings.my @userArray = qw(batman, robin, joker); my $sql = "select * from tablename where username IN ?"; $stmt=$dbConn->prepare($sql); $stmt->bind_param(1,@userArray); $stmt->execute();
In reply to DBD::Oracle 's DBI binding of arrays by adrive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |