Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
Cetin,
What sort of problems/headaches have you encountered with integers? What I really store in my primary key fields are the integers returned by a GetLastNumber() routine then converted to zero padded character strings.
Would'nt the use of GUID values as primary key values eat up a lot of disk space? That's already a 36 character field.
Thanks!
Dennis
>
>Dennis,
>I had a very simple demonstration code showing you can easily duplicate with 2 stations:) Believe me you can even duplicate doing that manually (programmatically easier to insert faster) sitting 2 persons on same table and inserting with say Ctrl+Y (where default is sys(2015)).
>GetLastNumber is returning integer I think. So I'd repeat, use GUID. Or start with integer, when you start to have headaches, revert to using GUID:)
>Cetin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement