GUID Function

The GUID function generates a random GUID string.

Example:



%%[
set @guid = GUID()
]%%
%%=v(@GUID)=%%

Output:

28203472-7d9f-4eb3-9d89-210f0327e5bc

Explanation:

The GUID function generates a string value which is a globally unique identifier. Given the number of characters and possibility of different values in the GUID, this value will always be unique. The GUID function can be used as a primary key in your data extension as it will be unique.

Leave a Reply

Your email address will not be published. Required fields are marked *