SYS_GUID

Syntax

SYS_GUID()

Overview

SYS_GUID generates and returns a globally unique identifier consisting of 16 bytes of RAW data.

UUIDs are generated using a pseudorandom method.

Example

SELECT SYS_GUID();
              sys_guid              
------------------------------------
 \xc3a83bc2e6f845c8bdf884af0c0516ac
(1 row)

Last updated