Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness of SYS(2015)
Message
From
24/06/2007 17:25:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/06/2007 20:38:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01235219
Message ID:
01235265
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform