guid / uuid - globally / universally unique identifier
Returns a Universally (or Globally) Unique Identifier (UUID and GUID respectively) as a string. The UUID is version 4 compliant (the random version).
In its canonical form, a UUID is represented by 32 hexadecimal digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 digits and four hyphens)
Sources:
Usage(s)
guid () |
Returns a globally unique identifier (GUID) |
uuid () |
Returns a Universally Unique Identifier (UUID) |
Parameter(s)
This function has no parameters |
Example(s)
Unique GUIDs / UUIDs
uuid()
b0311028-1411-416b-b181-9df7ea3ab993
e618a7f7-c380-4368-b203-e9eb21d15899
2de53acc-c30b-474f-8d1b-1186a8a60f7e
87068848-f826-4638-8751-595447fedcb0
acd5cadb-872b-45a9-8265-19455f0913db
412bcf7f-9519-4936-aed4-7caa05bcb165
499fef11-12a9-4217-828a-47f5a96eb01b
9a236820-ff31-4e74-81fd-fa34814f5752
eb3c461e-8be5-430a-9b0c-2a049c352a1b
|
See also
int - number
hex - hexadecimal value