メインコンテンツまでスキップ

uuid_numeric

uuid_numeric

説明

uuid_numeric 関数は、LARGEINT 型のランダムな UUID を返します。この関数は uuid 関数と比較して、実行パフォーマンスが2桁優れています。

構文

uuid_numeric();

パラメータ

なし

返り値

LARGEINT 型の値を返します。

MySQL > select uuid_numeric();
+--------------------------+
| uuid_numeric() |
+--------------------------+
| 558712445286367898661205 |
+--------------------------+
1 行が返されました (0.00 秒)