Skip to main content
VeloDB Cloud 4.x·Apache Doris 3.x·"Since X.Y" tags refer to Doris versionsversion mapping →

UUID

Description

Used to return a randomly generated UUID string.

Syntax

UUID()

Return Value

Returns a randomly generated UUID string.

Examples

select UUID();
+--------------------------------------+
| UUID() |
+--------------------------------------+
| 29077778-fc5e-4603-8368-6b5f8fd55c24 |
+--------------------------------------+