[thelist] MySQL Total number of results with LIMIT set

Paul Waring pwaring at gmail.com
Fri May 27 12:04:26 CDT 2005


On 5/26/05, Phil Turmel <philip at turmel.org> wrote:
> Actually, since MySQL 4.0, you can check FOUND_ROWS() after a query to
> determine how many would have been returned if no LIMIT was specified.

That looks pretty useful - thanks for pointing it out.

-- 
Rogue Tory
http://www.roguetory.org.uk


More information about the thelist mailing list