| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Scott Gifford | Date: | September 18 2005 5:31am |
| Subject: | Re: Result row count *without* buffering all results? | ||
| View as plain text | |||
Ken Gieselman <ken@stripped> writes: [...] > So, here's my question: How can I find out how many rows are being > returned by a query, without using mysql_stmt_store_result() to > buffer all the rows back to the client? One straightforward way is to replace the SELECT clause with just SELECT COUNT(*) and execute that query first. -----ScottG.
| Thread | ||
|---|---|---|
| • Result row count *without* buffering all results? | Ken Gieselman | 18 Sep |
| • Re: Result row count *without* buffering all results? | Scott Gifford | 18 Sep |
| • Re: Result row count *without* buffering all results? | Ken Gieselman | 18 Sep |
| • Re: Result row count *without* buffering all results? | Scott Gifford | 19 Sep |
| • Re: Result row count *without* buffering all results? | Harrison Fisk | 19 Sep |
| • Re: Result row count *without* buffering all results? | Ken Gieselman | 19 Sep |
