|
||||||
![]() |
![]() |
![]() |
||||
Progress 4GL Code Samples · Index · Part 1 · 2 · 3 · 4 · 5 · Expand · Web Feed UUID definition: A UUID is an identifier that is unique across both space and time1, with respect to the space of all UUIDs. A UUID can be used for multiple purposes, from tagging objects with an extremely short lifetime, to reliably identifying very persistent objects across a network. Unfortunately, Progress® does not provide a build-in UUID generator. In DLC/bin you'll find genuuid, which uses a Java class to produce non-standard identifiers. You can't use genuuid to create unique primary key values, because this thing is incredible slow and the globally uniqueness is not guaranteed (KB#21175). getUUID.p is meant as a template demonstrating how UUIDs can be handled with Progress® 4GL. You can use getUUID.p to build a centralized UUID generator supplying unique IDs to all your databases, or within a session running as super procedure. def var cUUID as char no-undo.
Progress 4GL Code Samples · Index · Part 1 · 2 · 3 · 4 · 5 · Expand · Web Feed
|
||||||
|
|
|||||
Digg this · Add to del.icio.us · Add to Furl · We Can Help You! |
||||||
|
||||||
![]() ![]() ![]() ![]() ![]() |
Home · Categories · Articles & Tutorials · Syndicated News, Blogs & Knowledge Bases · Web Log Archives Copyright © 2004, 2005 by Smart IT Consulting · Reprinting except quotes along with a link to this site is prohibited · Contact · Privacy
|