Would it be something like this?
$sqlfmt = "SELECT val1,val2,val3 where val1 = %d"; foreach (@values) { $sql = sprintf($sqlfmt, $_); }
In reply to Re: Simple DBI question, select rows based on an array
by affc
in thread Simple DBI question, select rows based on an array
by novosirj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |