Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Variables
  6. Dates
  7. Functions

Transformation Language Reference

Transformation Language Reference

UUID_UNPARSE

UUID_UNPARSE

Converts a 16-byte binary value to a 36-character string representation as specified in RFC 4122.

Syntax

UUID_UNPARSE( binary )
The following table describes the argument for this command:
Argument
Required/
Optional
Description
binary
Required
Binary datatype. Any 16-byte binary value that you want to convert to a 36-character string.

Return Value

36-character string.
Returns null if the argument is null and an error if the argument is not a 16-byte binary value.

Example

The following expression might return a value of 6948DF80-14BD-4E04-8842-7668D9C001F5:
UUID_UNPARSE(UUID4())

0 COMMENTS

We’d like to hear from you!