Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MAJOR question...
Message
De
25/01/2001 12:42:46
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
 
À
25/01/2001 12:33:28
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00468472
Message ID:
00468594
Vues:
8
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform