UUIDASBLOB function

UUIDASBLOB is a miscellaneous function that returns universally unique identifiers (UUIDs) as BLOBs.

SYNTAX

If (source_character_uuid) is not specified, UUIDASBLOB creates a new UUID and returns it as a BLOB.

If (source_character_uuid) is specified, UUIDASBLOB converts an existing character UUID in the form dddddddd_dddd_dddd_dddd_dddddddddddd to the BLOB form. An exception is thrown if the parameter is not of the expected form.

The result is NULL if a NULL parameter is supplied.

Related concepts
ESQL overview
Related tasks
Developing ESQL
Related reference
Syntax diagrams: available types
Miscellaneous ESQL functions