Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggestions for random candidate key generation methodol
Message
From
13/05/2004 20:10:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
13/05/2004 09:15:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00902286
Message ID:
00903924
Views:
25
>Hi, Hilmar-
>
>>>I mentioned a couple of times conditions that make GUIDs unusable, but thanks anyway for the suggestion.
>>
>>Oh? I must have missed the threads.
>
>Yep. THat would be the first sentence that said "I need to generate 7-digit, unique, random numeric quasi-serial number." ;-)
>
>>I do know that the guarantee of the GUID being unique depends on the presence of a NIC.
>
>Interesting. I did not know that.

Each NIC has a unique number (MAC); the GUID takes advantage of that for part of the code. It seems that another part of the code is a kind of sequential number. I also understand that the code is somehow transformed, so that the MAC can't be recognized.

If no NIC is present, some sort of random number is used instead.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform