Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use generated primary keys ?
Message
 
À
09/05/2000 13:41:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00367063
Message ID:
00367788
Vues:
44
Hi John,

I've heard you mention the sys(2015) before for UIDs, however you seem to be one of the few people using it. Or am I mistaken and most people use it.

I was thinking fo switching over to that and dumping my NextKey function that uses a table.

>Jeez, this sure has generated a lot of messages.....
>
>My take: I'm with the surrogate key crowd. I don't reuse crap. I either use some variation on SYS(0)+SYS(2015) or a GUID and fuggedaboudit.
>
>Even SQL Server is going this way, hence the uniqueidentifier (which is a GUID) in addition to the identity (integer).
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform