Kbase P96220: Does Progress have a function that returns a GUID?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/7/2007 |
|
Status: Verified
GOAL:
Does Progress have a function that returns a GUID?
GOAL:
Is there a way to return a Globally Unique Identifier in Progress?
FIX:
Starting in OpenEdge 10.1A we have added the GENERATE-UUID and GUID functions. You can call GENERATE-UUID and pass that result to the GUID function to generate your GUID or you can skip the calling of the GENERATE-UUID function and simply call GUID() to generate a GUID.
Prior to OpenEdge 10.1A there is no native way to generate a GUID. Dynamics has a concept of "Object ID's" that are meant to be unique over every dynamics database world wide by use of a registered site number. It is possible to take the logic used by dynamics and apply it on your own database.