Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary, candidate key ?? speed?
Message
De
27/01/2002 08:24:31
 
 
À
27/01/2002 07:41:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrats & ententes
Divers
Thread ID:
00611233
Message ID:
00611238
Vues:
23
>Hi,
>I read couple of articles that talk about primary key, and it mentioned that we should use integer as primary key and don try to re-use it. If we need something unique such as ID number or customer code, we could place it as candicate key. It is the same effect.
>
>I am not very clear about:
>1. Since, filtered index is not optimize, how am I going to re-use the deleted candicate key but not effect the speed?

Your Candidate key can have a filter, and you can have another TAG on the same field but without the filter.


>
>2. If I have a auto-generated field like Invoice No., do yoo think it is good to be primary key or candicate key??

Sounds like a good choice.


>
>Thank you
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform