more useful options | |
PerlMonks |
Re: Number of elements in arrayby NetWallah (Canon) |
on Sep 24, 2012 at 13:55 UTC ( [id://995388]=note: print w/replies, xml ) | Need Help?? |
If you want to get the number of rows in a database table, the most efficient way would be to let the database count them:
Most databases will optimize queries, so you can do the count query, then do the data query as 2 separate queries.
I hope life isn't a big joke, because I don't get it.
In Section
Seekers of Perl Wisdom
|
|