Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help Improving Select Speed
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00450195
Message ID:
00450208
Views:
29
>>Hello,
>>
>>Is there a good way to search a character field for
>>the occurance of a string?
>>
>>Currently I am using the following but it is very slow.
>>I do have CDX indexes on both of the fields and tried
>>with the order set and with no order.
>>
>>SearchMe = "TEST"
>>Select item_no, item_desc from datafile;
>> Where ATCC(SearchMe, upper(item_desc))<> 0;
>> order by item_no nowait into cursor Find
>>
>>Thanks in Advance for your help.
>>
>>Jeff
>
>See if:
>
>WHERE SearchMe $ UPPER(Item_desc)
>
>is any faster


None of them are Rushmore optimizable... You can also try like operator or like function. I believe, though, your solution would be the fastest, Chris.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform