Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric GUID
Message
From
21/06/2001 09:32:42
 
 
To
21/06/2001 07:05:14
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00521791
Message ID:
00521871
Views:
16
Hi!

Why not use sequenses, as are usually used to create values for PK in Oracle database? Its much like Auto-number field in SQL Server, but you require to get the next sequense value BEFORE inserting of record.

HTH.

>Actually this code works but I'm not sure if it is still unique?
>
>SELECT TO_NUMBER(TRANSLATE(sys_guid(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','00000000000000000000000000')) FROM DUAL;
>
>I suppose unique enough?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform