Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rushmore does not use index
Message
De
25/12/2007 10:36:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/12/2007 23:35:19
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 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01277031
Message ID:
01277431
Vues:
25
>Found it.
>This was a problem with the COLLATE sequence.
>I had set it to "GENERAL" to provide case insensitivity for some queries.
>
>Now that I know I see some good discussion about this here.
>Also, this article spelled it out for me.
>
>http://fox.wikis.com/wc.dll?Wiki~UnderstandingRushmore~VFP

Between FPD/FPW 2.6 and VFP7 it was pretty much unimportant whether the collating sequence matched the codepage of the table, which has at times led to incorrect results in some cases. It was quite easy to have a tag on an integer key with a collating sequence which would translate some pairs of bytes into other pairs of bytes, and then Seek() wouldn't be able to find some keys, the numbers would appear out of sequence etc. There were other nasty things which could happen.

IIRC, it was VFP8 where the limitation was introduced, i.e. you can't apply any collate sequence to any table, they now have to match (ie. can't have a, say, Asian table and SweFin collation). The other limitation is that, starting with VFP9, it won't optimize if indexes with multiple collate sequences are used in the same query.

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