Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How this query will fast
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01468545
Message ID:
01469362
Vues:
38
Yes, ALLTRIM() removes spaces from the value but it does not reduce the size of the index key. As I pointed out in the earlier message, an index key in VFP have fixed length. As result the value get padded back with spaces to the length of the index key.
The UPPER() function OTOH can reduce the number of values in the index.

>Hmmm, alltrim() is supposed to remove blank spaces, which would reduce a file's size. Upper does not, so how would upper() make a file smaller?
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform