UUID_SHORT()

Overview

UUID_SHORT() returns a "short" universal identifier as a 64-bit unsigned integer. Using UUID_SHORT() requires a server_id between 0 and 255. UUID_SHORT() is not guaranteed unique across nodes in SkySQL.

See also: Functions in 10.6 ES, in 10.5 ES, and in 10.4 ES

EXAMPLES

SELECT UUID_SHORT();
+-------------------+
| UUID_SHORT()      |
+-------------------+
| 98978662455443456 |
+-------------------+

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES