Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uniqueness of SYS(2015)
Message
De
23/06/2007 21:24:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
23/06/2007 20:38:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01235219
Message ID:
01235220
Vues:
21
>Hi Everybody,
>
>To generate a unique record id value, in lieu of using either:
>
>1. the AUTOINC field type
>2. using a table that houses a LastNumber field and have a GetLastNumber() function to lock and return value.
>
>Will using SYS(2015) do the job? I mean, is its uniqueness 'guaranteed' if its being invoked by 100 or more workstations simultaneously?

Yes and no. It's guaranteed per workstation, not across network - so if you prefix it with some sort of workstation code, it will be.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform