Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SEEK and Case sensitivity
Message
De
28/06/1999 15:43:50
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
28/06/1999 09:59:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00233589
Message ID:
00234922
Vues:
30
>Another good way is to have the index be UPPER(field1). Then when seeking just use the UPPER function on what you are seeking with. This ensures that your index is not going to be case sensitive.

True, but you have overhead twice: first, your index is based on a function, second, you must use the function in each SQL select and each Seek if you want to use this tag. The overhead of this is probably bigger than the overhead of a native VFP's way to take care of non-machine collating sequences. Of course, this should be measured, before we can make any educated guess at the speed issues.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform