Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed Difference
Message
De
11/01/2002 09:26:50
 
 
À
11/01/2002 03:40:11
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00601821
Message ID:
00603458
Vues:
46
>Bottom line: In some cases where there is no other suitable candidate for a primary key, create a new primary key which only use is to identify the record. As shown in the navision database this can be both a surrogate or intelligent key. In other cases where there is a suitable PK available (depends on the domain), use that one (Examples: Invoicenumber, ItemNo, CustomerNo) because it will make you life easier when building, maintaining and debugging your system and keeps performance to the max as it generally needs less joins in queries.

Thanks, Walter.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform