Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRIM commands ignored when applied to indexes?
Message
From
16/08/1999 14:30:31
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00254070
Message ID:
00254182
Views:
33
>I feel stupid asking this but I have to. I know what ALLTRIM() is. I know what TRIM() is as well as LTRIM(),RTRIM(), and the various PAD functions.
>
>What is ALLTRIM(), TRIM
>
>Do you mean ALLTRIM(TRIM())?
>I have many times use LTRIM(TRIM(firstname) + ' ') .... to add a trailing blank to the trimmed first name only if the firstname is not empty.
>
Sorry, Dore. I just meant any trimming of any kind. My point is that VFP folks are TRIMming for lookup when I believe trimming is for display and should be avoided in lookup/matching/SQL unless you want partial matches for some reason.
"Smithson" = "Smith", etc.
Charlie
Previous
Reply
Map
View

Click here to load this message in the networking platform