Quote:
|
Originally Posted by sd2001
The String above works fine on its own, but not with COUNT(*).
|
probably because you had other stuff in the SELECT besides count(*)
also, no need to use ORDER BY or LIMIT, as there will be only 1 row with 1 count in it
Code:
select count(*)
from tblsearch
where active=-1
and match (url,description,name)
against ('" & search & "' in boolean mode)