For IN, I use something like:
my $placeholders = join ",", (('?') x @values); my $sth = $dbh->prepare(" SELECT * FROM table WHERE field IN ($placeholders) ") or die $dbh->err +str; $sth->execute(@values);
In reply to Re: sql bind parameterization clarity
by Corion
in thread sql bind parameterization clarity
by djlerman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |