Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Keys: surrogate or composite??
Message
De
22/03/2000 13:55:03
 
 
À
22/03/2000 02:36:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00348623
Message ID:
00349031
Vues:
32
Why? If "pk" is an attribute of Entity, isn't it redundant to name it pkEntity?

>>Excuse me? All of my primary keys are called "pk" and all my foreign keys are called "fkEntity"; i.e "fkCustomer" (always singular when 1-to-1). How much more "self-documenting" do they need??
>
>Having a pkEntity and a fkEntity could be a little more descriptive. You'll be able to recognize stuff faster.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform