gvanassche
02-25-2010, 02:23 PM
Hi all, I tried this but this does not work:
totalrecords=db:exec("SELECT COUNT(*) AS id FROM table")
Does anybody how to count records without making a loop & a counter. The table I need to query is really big.
thanks
gert
totalrecords=db:exec("SELECT COUNT(*) AS id FROM table")
Does anybody how to count records without making a loop & a counter. The table I need to query is really big.
thanks
gert