您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

UNIQUEID()

Pseudo-unique ID

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

Syntax

UNIQUEID([type])

  • type - Optional. Type of pseudo-unique ID. Valid values are UUID and PackedUUID. 

UNIQUEID() (with no argument) generates a sequence of 8 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.

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

UNIQUEID("PackedUUID") generates a sequence of 22 random digits, letters, hyphens, and underscores suitable for use as a unique identifier. 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?
true
Search
Clear search
Close search
Main menu
17453275769961385336
true
Search Help Center
false
true
true
true
false
false
false
false
false
⌂ 换网址