MySQL count matching words
Count No.Of Words in String - Mysql Syntax
If you only need to search for one term at a time, a function which does something like
Count No.Of Words in String - Mysql Syntax
If you only need to search for one term at a time, a function which does something like
select (len(field)-len(replace,find,''))/len(find)
would work in sql server, but I'm not sure about MySQL. You'd
also need to take care of the special case len(find) = 0
No comments:
Post a Comment