Skip to main content
Version: Candidate-4.1

uuid_numeric

Returns a random UUID of the LARGEINT type. This function has an execution performance 2 orders of magnitude better than the uuid function.

Syntax​

uuid_numeric();

Parameters​

None

Return value​

Returns a value of the LARGEINT type.

Examples​

MySQL > select uuid_numeric();
+--------------------------+
| uuid_numeric() |
+--------------------------+
| 558712445286367898661205 |
+--------------------------+
1 row in set (0.00 sec)
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.