MySQL Tutorial/Miscellaneous Functions/UUID

Материал из SQL эксперт
Перейти к: навигация, поиск

UUID() returns a number that is globally unique in space and time.

mysql>
mysql> SELECT UUID();
+--------------------------------------+
| UUID()                               |
+--------------------------------------+
| 14185158-8adb-102a-8f5c-03475dfdde5e |
+--------------------------------------+
1 row in set (0.00 sec)
mysql>