Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary key can't be optimized?
Message
From
19/02/2001 12:24:44
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
18/02/2001 08:57:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00477099
Message ID:
00477358
Views:
28
>Hi,
> How ot check whether I have defined the original key with a collating sequence of other than "machine"? I have check my setting from VFP option. It show machine in the column.

Check each tag with the IdxCollate() function. List structure will give you only the simple keys, i.e. the ones defined on the field, and only one key per field. If you have two tags on your PK, it's probably showing you only one of them - the new one, I think - and not the other one.
I've just tried to List Stru on one of tables here, and it shows 8 indexes, while the actual count is 10. Therefore, run this simple index checker:

for i=1 to tagc()
? tag(i), key(i), for(i), idxcollate(i), unique(i), primary(i)
endfor

You may add formatting to this - but, essentially, it's all here.

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