Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uniqueness of SYS(2015)
Message
De
24/06/2007 17:25:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
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:
01235265
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?
>
>Thanks
>Dennis

Its uniqueness would even break with 2 workstations. Use a GUID.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform