Updated on 2025-08-06 GMT+08:00

UUID Function

UUID functions are used to generate a pseudo-random universally unique identifier (UUID).

A UUID is a 128-bit identifier, typically represented as 32 hexadecimal characters, divided into five groups in the format of 8-4-4-4-12.

select uuid();

Example response:

6b4c7d5a-2f3e-4a19-8e9f-5d2e8e9f4a1b