Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How this query will fast
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01468545
Message ID:
01469362
Views:
54
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform