Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Primary Keys
Message
From
04/08/2005 20:24:55
 
 
To
04/08/2005 19:17:43
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01038780
Message ID:
01038790
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform