Welcome Guest, Not a member yet? Register   Sign In
Help needed to Select Count,.
#7

[eluser]Evil Wizard[/eluser]
because like I said if you put a limit on the sql the count(*) will be a count of the resultset not of the possible number of results

EDIT:
I just tested it on MySQL server and yes the count(*) tagged onto the end of the query works just as well and returns number of records that match the where clause but not impeded by the limit Smile


Messages In This Thread
Help needed to Select Count,. - by El Forum - 07-02-2009, 05:38 AM
Help needed to Select Count,. - by El Forum - 07-02-2009, 05:41 AM
Help needed to Select Count,. - by El Forum - 07-07-2009, 04:53 AM
Help needed to Select Count,. - by El Forum - 07-07-2009, 04:55 AM
Help needed to Select Count,. - by El Forum - 07-07-2009, 07:17 AM
Help needed to Select Count,. - by El Forum - 07-07-2009, 08:18 AM
Help needed to Select Count,. - by El Forum - 07-07-2009, 09:40 AM
Help needed to Select Count,. - by El Forum - 07-07-2009, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB