Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Primary Keys
Message
De
04/08/2005 20:24:55
 
 
À
04/08/2005 19:17:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01038780
Message ID:
01038790
Vues:
20
SSN is not a good choice for a PK. There is no guarantee that it will be unique.

>How do I set two primary keys in a table. In access it was easy. The 2 fields are SSNumber abd PeriodEnd.
>
>I do not want duplicates on both these fields.
>
>Are they both canidate fields. I tried primary of SS and canidate on PeriodEnd, but uniquesness is not there.
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform