Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TRIM commands ignored when applied to indexes?
Message
De
16/08/1999 13:39:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00254070
Message ID:
00254149
Vues:
22
Hi Charlie --

Why use the ALLTRIM in the first place? It really won't speed anything else, but I do agree with the UPPER(), especially if you're not sure the case of the data going into the field.


>
>Yeah, I'm using ALLTRIM(UPPER(somekey)), is that why the TRIM is ignored? I'm also using UPPER() in the search expression. I figured using UPPER() on both sides of the expression would speed things up because the index sorting order is case sensitive.
>
>Someone suggested padding the search expression to match the field width if it is not a field. That makes sense.
>
>Thanx,
>Charlie
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform