my ($count) = $dbh->selectrow_array($sql); # or if you substitute '$data[\d+]' with ? in your sql my ($count) = $dbh->selectrow_array($sql, {}, @data);
In reply to Re: Select Count(*) result
by Rhandom
in thread Select Count(*) result
by SQLMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |