Syntax\n------\n\nUUID_SHORT()\n\nDescription\n-----------\n\nReturns a "short" universally unique identifier as a 64-bit unsigned integer (rather than a string-form 128-bit identifier as returned by the UUID() function).\n\nThe value of UUID_SHORT() is guaranteed to be unique if the following conditions hold:\n\n The server_id of the current host is unique among your set of master and slave servers.\n server_id is between 0 and 255.\n You don't set back your system time for your server between mariadbd restarts.\n You do not invoke UUID_SHORT() on average more than 16 million times per second between mariadbd restarts\n\nThe UUID_SHORT() return value is constructed this way:\n\n``sql\n(server_id & 255) << 56\n+ (server_startup_time_in_seconds << 24)\n+ incremented_variable++;\n``\n\nStatements using the UUID_SHORT() function are not safe for statement-based replication.\n\nExamples\n--------\n\nSELECT UUID_SHORT();\n+-------------------+\n| UUID_SHORT()      |\n+-------------------+\n| 21517162376069120 |\n+-------------------+\n\nURL: https://mariadb.com/docs/server/reference/sql-functions/secondary-functions/miscellaneous-functions/uuid_short