my @id=(1,2,3,4); my $sth = $dbh1->prepare("SELECT name FROM table where id in ?") or d +ie "Couldn't prepare statement: " . $dbh1->errstr; $sth->execute(@id)
In reply to Using multiple values in a SQL "in" statement by perlvroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |