- Categories:
Context functions (Session)
CURRENT_SESSIONยถ
Returns a unique system identifier for the Snowflake session corresponding to the present connection. This will generally be a system-generated alphanumeric string. It is NOT derived from the user name or user account.
Syntaxยถ
CURRENT_SESSION()
Returnsยถ
The data type of the returned value is VARCHAR.
Examplesยถ
SELECT CURRENT_SESSION();
-------------------+
CURRENT_SESSION() |
-------------------+
34359980038 |
-------------------+