Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAJOR question...
Message
From
25/01/2001 12:42:46
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
 
 
To
25/01/2001 12:33:28
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00468472
Message ID:
00468594
Views:
17
Did that (switched to Candidate key). I guess I will just accept the fact to "NEVER" allow users to input in a Primary Key (to me, it makes it look like it defeat the purpose for the Primary key's existance).

Chuck

>Sounds good. And we're suggesting that the problems Chuch has would be eliminated by moving from a natural key to a surrogate key.
>
>>I think it's important to make the distinction between PRIMARY key and SURROGATE key. A primary key is any value that distinctly identifies a record. It could, for business purposes, consist of a user-entered value (such as an SSN), and would therefore require validation. In such an instance, that would be known as a NATURAL key.
>>
>>Surrogate keys, on the other hand, should never be entered (or even seen) by a user. These are most often integer or GUID values generated at the time of record creation.
Today is tomorrow's yesterday.
Previous
Reply
Map
View

Click here to load this message in the networking platform