Re: help with locate() function and index

2006-06-24 Thread kevin vicky
Hi, The table has ~2 million records and has 3 columns one of which is a text field which on an average has 2000 characters(English alphabets, space are there for now, but if required can be eliminated). eg: "adfastsdfasgadfdfdsaffagdasfd adfsadfadsgdsfdfsdfsgsdfdsg fg adfafg adfddfgadsfdsgfghfg

Re: help with locate() function and index

2006-06-23 Thread John Hicks
kevin vicky wrote: Hi, I am trying to use locate() function to get position of a substring in a text field which on average has 2000 characters and the search substring is 30 -50 characters long. The table has around 2 million records and looking for a efficient way to do the search. I tried ful

help with locate() function and index

2006-06-23 Thread kevin vicky
Hi, I am trying to use locate() function to get position of a substring in a text field which on average has 2000 characters and the search substring is 30 -50 characters long. The table has around 2 million records and looking for a efficient way to do the search. I tried fulltext index but dint