All pages
Powered by GitBook
1 of 1

SYS_GUID

SYS_GUID is available from MariaDB 10.6.1.

The SYS_GUID function was introduced to enhance Oracle compatibility. Similar functionality can be achieved with the UUID function.

Syntax

SYS_GUID()

Description

Returns a 16-byte globally unique identifier (GUID), similar to the UUID function, but without the - character.

Example

SELECT SYS_GUID();
+----------------------------------+
| SYS_GUID()                       |
+----------------------------------+
| 2C574E45BA2811EBB265F859713E4BE4 |
+----------------------------------+

See Also

  • UUID

  • UUID_SHORT

  • UUID data type

This page is licensed: CC BY-SA / Gnu FDL