Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you decide the length of GUID field?
Message
De
29/08/2008 21:35:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/08/2008 08:56:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01336497
Message ID:
01343448
Vues:
22
>Cetin, I do not use GUID in PK just because of performance. I don't think they are a waste of space.
>
>I call waste of space when, for example:
>- The tables are not well normalized
>- The programmer tries to store everything under the sun, be it usefull or not
>- Field lenghts are not well studied. For example: the lot number for production lots. It is usually no more than 10 characters, but some suppliers go up to 15. It is hard to find longer lengths. So give it 15, instead of 25-30 just because space is cheap ....

We once had a customer who asked for a c(24) field to store supplier's invoice number. Why? Well, they had one (but large) supplier who had their information system designed with sort-of-meaningful keys. Or someone made their masters degree on that project or something... to the point we almost sensed which professor from which college was behind it.

Of course, the data entry clerks absolutely hated typing those numbers.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform