![]() |
|
P is for Practical | |
PerlMonks |
Re: DBI::rows (boo)by boo_radley (Parson) |
on Jun 29, 2001 at 17:01 UTC ( #92593=note: print w/replies, xml ) | Need Help?? |
Centaurus writes :
I believe the $sth->execute method returns the number of rows or -1 if no rows affected. You may also want to try the $sth->rows method.These methods are unreliable in some databases -- they may only return an accurate count if all the rows have been read.
In Section
Seekers of Perl Wisdom
|
|