All Products
Search
Document Center

MaxCompute:UNIQUE_ID

Last Updated:Jul 20, 2023

Returns a unique ID, such as 29347a88-1e57-41ae-bb68-a9edbdd9****_1.

Usage notes

This function is more efficient than the UUID function, and the returned ID is longer. Compared with the UUID function, this function returns a unique ID with an underline (_) and a digit, such as _1.

Syntax

string unique_id()

Related functions

For more information, see Other functions.