Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore does not use index
Message
From
25/12/2007 10:36:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/12/2007 23:35:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01277031
Message ID:
01277431
Views:
27
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform