htmanning has asked for the wisdom of the Perl Monks concerning the following question:
If I leave out the "limit 500" it shows me that it found 100,000 records but shows me only 1-50.SELECT * from $log_table order by sticky desc, dateadded2 desc, ID DES +C limit 500";
What I would like to have happen is the page say, Found 500 of 100,000 records. Displaying 1-50.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Counting all records but selecting only a few
by NetWallah (Canon) on Apr 05, 2018 at 05:54 UTC | |
|
Re: Counting all records but selecting only a few
by Marshall (Canon) on Apr 05, 2018 at 04:11 UTC | |
|
Re: Counting all records but selecting only a few
by Anonymous Monk on Apr 05, 2018 at 11:45 UTC |