Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WHEN CAN I USE PRIMARY KEY?
Message
De
08/05/1998 16:48:24
 
 
À
08/05/1998 16:45:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00098189
Message ID:
00098217
Vues:
31
Customer home phone for a primary key is not a good idea. We tried that once. The trouble is that when the number is disconnected it is reassigned, so we ended up with more than one of the same "unique" key.

Generate a random number for unique key and have your code check to be sure that it's not already used.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform