Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index on char binary
Message
From
13/09/2004 09:10:07
 
 
To
10/09/2004 08:52:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00940995
Message ID:
00941580
Views:
17
Hello, gentlemen.
Upon further investigation it became clear that index has nothing to do with this.
I've made the tables free and indexless.
Cs1.dbf - parent table, PK C(16) NoCPConvert - primary key
Cs2.dbf - child table, Cs1_pk C(16) NoCPConvert - foreign key

Select * from Cs1 left join Cs2 on Cs2.Cs1_Pk=Cs1.PK

This query gives correct result when CodePage=1251 (in config.fpw). If CodePage is changed then the query result is messed up. I wonder where NoCPConvert comes in...

Have a good day.
Kamil


>hi Kamil,
>
>I think that it is the collating sequence of the index that is important. For binary fields the one to use is 'Machine'. Any other will cause trouble (Kamil = KAMIL = kamil)
>
>So, you may have to drop the indexes and recreate them with Machine collating sequence
A moment of silence is our cosmic reset button.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform