Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2015) for Primary Key
Message
 
To
21/08/2000 13:21:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00407126
Message ID:
00407450
Views:
23
>As long as the system datetime is not reset the number generated is unique. You can prefix a machine number to it to make it unique on a network.
>Rajesh

Hello,

Doesn't Sys(2015) check if the value already exists.
When i have a table with 10.000 records and issue replace all .. with sys(2015) i have no duplicated values although the replace is faster then 10.000 miliseconds. (Sys(2015) is derived from the miliseconds)

Greetings,

KW
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform