i have a keywords table,and i want to check a String contains keyword or not.
String str="aaabbbccc";
TableName:keywordTable
field:id keyword
-------------------
1 ee
2 bbb
3 xx
..
------------------
i run this sql (in mysql 4.1):
select * from `keywordTable` where contains(`keyword`,"aaabbbccc");
return a syntax error
how to implement it? (in mysql 4.1 and 4.0)
thanks :)