Skip to main content
VeloDB Cloud 26.x·Apache Doris 4.x (≤ 4.0 supported)·"Since X.Y" tags refer to Doris versionsversion mapping →

UUID_NUMERIC

Description

Return a LARGEINT type uuid

Syntax

UUID_NUMERIC()

Return Value

Return a LARGEINT type uuid. Note that LARGEINT is an Int128, so uuid_numeric() may produce negative values

Example

select uuid_numeric()
+----------------------------------------+
| uuid_numeric() |
+----------------------------------------+
| 82218484683747862468445277894131281464 |
+----------------------------------------+