Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help Improving Select Speed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00450195
Message ID:
00450201
Vues:
20
>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
Chris McCandless
Red Sky Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform