Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index Problems
Message
De
06/11/2000 08:14:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/11/2000 23:10:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00438192
Message ID:
00438272
Vues:
11
>Cindy,
>
>Slight correction on your description of VFP and Trim in indexes. It does not ignore Trim functions in indexes. It pads the end result so all key values are a fixed length.
>
>That's what causes ted dyster and teddy ster to both be returned in searches.

The remaining problem is - how do we know to which length does it pad them? In SQL selects, it determines the length of calculated fields based on the result in the first row. Now what does it do when creating an index? Maybe a situation like this would be a way to understand how does it decide on the length. We could build two identical tables with a long string expression, and then set them into relation just like in the original problem, indexing on trim(field). It'd be interesting to see what gives.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform