跳到主要内容

INT_TO_UUID

int_to_uuid

描述

VARCHAR int_to_uuid(LARGEINT int128)

对于输入的已编码 LARGEINT,转译为原始的 uuid 字符串。

举例

mysql> select int_to_uuid(95721955514869408091759290071393952876);
+-----------------------------------------------------+
| int_to_uuid(95721955514869408091759290071393952876) |
+-----------------------------------------------------+
| 6ce4766f-6783-4b30-b357-bba1c7600348 |
+-----------------------------------------------------+

keywords

INT_TO_UUID