Re: search in memo field
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Thu, 21 Sep 2006 13:26:43 -0700
Substring searches like this are going to be notoriously slow. You need an
index that matches your expression.
INDEX ON AT("book",mm) TO TEMP
SELECT * ......
Dan
bijan wrote:
Hi
I have a table with 6 million record .(name of table is ddd)
And I have a memo field in this table (name of memo is mm)
I want search a word in memo field for example search 'book' in memo
field. I wrote this code .
SELECT * from ddd where AT( 'book',mm) >0 into cursor test
Or
SELECT * from ddd where 'book ' $ mm into cursor test
But speed is very low
Is there a butter code for high speed result
Thank you
bijan
.
- Follow-Ups:
- Re: search in memo field
- From: Lee Mitchell
- Re: search in memo field
- Prev by Date: Re: OPEN TABLE pop-up
- Next by Date: Re: OPEN TABLE pop-up
- Previous by thread: SOAP Request is repeated in the SOAP response.
- Next by thread: Re: search in memo field
- Index(es):
Loading