The RandomGenerator class / security.RandomGenerator methods |
Creates a new universal unique identifier (UUID).
security.RandomGenerator.CreateUUIDString() RETURNING result STRING
Generates an universal unique identifier and returns the value as STRING.
The generated strings follows the UUID version 4 specification. Version 4 UUIDs have the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx where x is any hexadecimal digit and y is one of 8, 9, A, or B.
In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).