VeloDB Cloud
SQL Reference
SQL Functions
Scalar Functions
Numeric Functions
UUID_NUMERIC

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 |
+----------------------------------------+