![]() |
|
"be consistent" | |
PerlMonks |
(ichimunki) Re: DBI::rowsby ichimunki (Priest) |
on Jun 29, 2001 at 00:49 UTC ( #92460=note: print w/replies, xml ) | Need Help?? |
From reading the DBI docs on this matter, it sounds like the best way to not have to count the rows is to switch to a DBMS that supports this function. Or on a more serious note, change your SQL to SELECT count( name ) FROM people WHERE l_name LIKE 'B%';
In Section
Seekers of Perl Wisdom
|
|