Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GUID as Primary Key
Message
De
18/02/2003 13:21:40
 
 
À
18/02/2003 13:00:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00754530
Message ID:
00754559
Vues:
21
I would suggest the GUID too. However, most of these distributed type applications require a field for location...and that's a one time setup.


>>
>>1) Use a compound PK with two fields, location and recordID
>
>That makes it a compound key!
>
>>2) Use a GUID.
>
>This is what I would suggest. It does not require compound primary keys and no maintenance if more location get added
>
>
>
>I believe there is a API call to get the GUID
>
>Peter
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform