Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What should the primary key be?
Message
De
02/02/1999 22:56:44
 
 
À
02/02/1999 00:42:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00182646
Message ID:
00183295
Vues:
18
>I hate @*#^@^&# integers :-)
>
>I used to use SYS(3), then went to SYS(2015) and now I'm quite happy generating GUIDs for primary keys

Craig's right about character vs Integer. The reason is basically that a character must be internally converted to integer when it is stored, and converted back when retreived. (as we know, machines don't store letters, they store numbers that represent characters)


>.....any system which relies on an incremented number, in VFP, is suspect >IMHO...now in SQL that's a different story.

Would you mind expanding on this?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform