Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRIM commands ignored when applied to indexes?
Message
From
16/08/1999 13:39:42
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00254070
Message ID:
00254149
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform