uuid
function
Applies to: Databricks SQL Databricks Runtime
Returns an universally unique identifier (UUID) string.
Syntax
uuid()
Arguments
The function takes no argument.
Returns
A STRING formatted as a canonical UUID 36-character string.
The function is non-deterministic.
Examples
> SELECT uuid();
46707d92-02f4-4817-8116-a4c3b23e6266
Related functions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for