Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary key can't be optimized?
Message
De
19/02/2001 12:24:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
18/02/2001 08:57:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00477099
Message ID:
00477358
Vues:
27
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform