This documentation is related to an older version of Firebolt. For the most current documentation, see Firebolt documentation.
GEN_RANDOM_UUID
Returns a version 4 universally unique identifier (UUID) according to RFC-4122. This function accepts no arguments.
Syntax
GEN_RANDOM_UUID()
Return Type
TEXT
Example
The example below outputs the result of GEN_RANDOM_UUID
as player_id
.
SELECT
GEN_RANDOM_UUID() AS player_id;
Returns:
session_id |
---|
08a95d43-2f01-4227-a111-de4f8ad205a0 |