CONNECTION_ID (Lakehouse v1)
Returns the connection ID for the current connection.
Analyze Syntax
Section titled “Analyze Syntax”func.connection_id()Analyze Examples
Section titled “Analyze Examples”func.connection_id()
┌──────────────────────────────────────┐│ func.connection_id() │├──────────────────────────────────────┤│ 23cb06ec-583e-4eba-b790-7c8cf72a53f8 │└──────────────────────────────────────┘SQL Syntax
Section titled “SQL Syntax”CONNECTION_ID()SQL Examples
Section titled “SQL Examples”SELECT CONNECTION_ID();
┌──────────────────────────────────────┐│ connection_id() │├──────────────────────────────────────┤│ 23cb06ec-583e-4eba-b790-7c8cf72a53f8 │└──────────────────────────────────────┘