Uuid

Returns a Universally Unique Identifier (UUID) string to use as an identification method.

Syntax

Uuid([n ])

Parameters

Parameter

Description

n

A number identifying the format of the UUID string. Valid numbers are:

  • 0 (default value): UUID string only contains hex octets.

  • 1: UUID string contains dash characters separating the sequences of hex octets at fixed positions.

If you do not include a value for n, the function uses the default value.

Examples

The following expressions are examples of the Uuid function:

Expression

Returns

Uuid()

A value such as 3c3400001037be8996c400a0c9c86dd5

Uuid(0)

A value such as 3c3400001037be8996c400a0c9c86dd5

Uuid(1)

A value such as 1a3ac000-3dde-f352-96c4-00a0c9c86dd5

Uuid(7)

A value such as 1a3ac000-3dde-f352-96c4-00a0c9c86dd5

// Ethnio survey code removed