in reply to Number of elements in array
Most databases will optimize queries, so you can do the count query, then do the data query as 2 separate queries....prepare ("Select COUNT(*) FROM TABLE_OR_QUERY"); # TABLE_OR_QUERY can be another (SELECT...) statement
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Number of elements in array
by tobyink (Canon) on Sep 24, 2012 at 14:03 UTC |