On 8/23/12 10:47 AM, M Jarvis wrote:
>> On Thu, Aug 23, 2012 at 10:42 AM, Paul McNett <[email protected]> wrote:
>> Over the years of my experience with Fox and VFP, I used all kinds of ways to
>> generate primary keys, and in retrospect the best ever was concatenating the 
>> machine
>> name with the output of sys(2015).
>>
> 
> Wasn't it true at one time that SYS(2015) didn't guarantee uniqueness?
> More like a "really really really good try" sort of thing?

That's why I concatenate with the machine name. I guess if you are really 
paranoid
that a second instance of VFP could be running sys(2015) for the same table in 
the
exact same timeslice as the first process you could also concatenate the 
process id.

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to