Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching for a substring in a field - fastest way
Message
De
11/03/2017 01:32:59
 
 
À
09/03/2017 14:30:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01648880
Message ID:
01648927
Vues:
46
>What is the fastest way to search through a file to find a substring within a field? I know you can
>
>set filter to 'xyz" $ yourfield
>go top
>
>or an SQL Select equivalent, but in a file where there are thousands of records, it takes a long time, specially on a network...
>
>Is there a quicker way?
>
>Many thanks!

You can not do much.
You can improve the reading, but penalizing the write.
In the sense of building one o more indexes that allows you to pre-select
the data and reduce the number of records where to do thorough research.
In the SQL Server full-text index is a partial solution, in the sense that you find the words, no generic substrings.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform