UNIQUEID()

Pseudo-unique ID

Returns a newly-generated pseudo-unique ID (Text value).

Syntax

Basic Form

UNIQUEID()

UNIQUEID() (with no argument) generates a sequence of eight random digits and letters suitable for use as a unique identifier within the app, such as a row key.

The generated ID is not strictly unique. Instead, it is sufficiently random as to be effectively unique for all practical uses within the app. The chance of a duplicate ID being generated is virtually zero.

UUID Form

UNIQUEID("UUID")

UNIQUEID("UUID") generates a version 4 universally-unique identifier (UUID), a sequence of random digits and letters suitable for use as a unique identifier everywhere. While the generated ID is not guaranteed to be unique, it is sufficiently random as to be effectively unique for all purposes.

See also

RANDBETWEEN()

Was this helpful?
How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
false