Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(2015) for primary key.
Message
From
21/12/1996 23:33:32
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00015796
Message ID:
00015800
Views:
43
>We did some experimentation with sys(2015), when trying to decide the same question. This was under fpw 2.6. We found that 2 users can generate the same sys(2015) key within the same 1/100 th of a second.
>Also sys(2015) is time/date based, so if your master clock is reset backwards, sys(2015) will generate duplicates. Based on this info, we decided this was not a good primary key or unique indicator. This is probably still true of VFP.

Excatly, that's why we need a bullet proof mecanism which will work all the time. :)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform