Re: how to count all records in MySQL table?
From: Mike Gagnon (mgagnon23_at_hotmail.com)
Date: Wed, 23 Feb 2005 08:22:38 -0500
The Count() exists in MySQL syntax, but it will have to access the table,
but the resulting cursor will return one record. You cannot store that in a
variable, you need to read the value in the Count field.
"winvis" <email@example.com> wrote in message
> Is there any alternative? I just need a variable with the total number of
> records in my MySQL table. That's all...
> Regards, Johan