new_guid()

Returns a random GUID (Globally Unique Identifier).

Syntax

new_guid()

Learn more about syntax conventions.

Returns

A new value of type guid.

Example

print guid=new_guid()

Output

guid
2157828f-e871-479a-9d1c-17ffde915095