Re: Number of Rows in a MySQL table
| From: | eschmid+sic at s dot netic dot de | Date: | Thu, 28 Dec 2000 20:41:14 +0000 |
| Subject: | Re: Number of Rows in a MySQL table | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32145@lists.php.net to get a copy of this message | ||
On Thu, Dec 28, 2000 at 02:31:11PM -0600, Ben Wiechman wrote:
> I can't seem to dig this up, is there a simple way to find out the total
> number of rows in a table w/o selecting all the rows and counting the number
> of rows returned? I can't seem to find an example of how to do this.
SELECT count(*) FROM table
-Egon
--
http://www.linuxtag.de/
http://php.net/books.php
http://www.concert-band.de/