Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do & Don'ts - NEW
Message
De
31/12/1999 12:14:15
Walter Meester
HoogkarspelPays-Bas
 
 
À
31/12/1999 08:24:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00310868
Message ID:
00310939
Vues:
22
>Rule 8: All tables have primary keys.
>
>
>
>I agree when one is doing new development or can add the keys to an old system during conversion.
>
>HOWEVER, when you have a Clipper system that has been in use for 17 years and converting the entire system will take 2-3 years, some proper design techniques have to wait. The problem is that some of the Clipper code has to run in parallel with the VFP code and without changing code in 2 systems, primary can only be used sparingly.
>
>I'm posting this as an exception. After 15 years of working on lots of systems written by someone else, I've learned that "Never is a very long time!!!"

So true. I've been maintaining systems with tables without primary keys which work fine. In some cases having no primary key isn't that much of a problem.

For all new systems I develop I always use a PK, for convinient reason.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform