CONNECTION_ID

Returns the connection ID for the current connection.

Analyze Syntax

func.connection_id()

Analyze Examples

func.connection_id()

┌──────────────────────────────────────┐
       func.connection_id()           
├──────────────────────────────────────┤
 23cb06ec-583e-4eba-b790-7c8cf72a53f8 
└──────────────────────────────────────┘

SQL Syntax

CONNECTION_ID()

SQL Examples

SELECT CONNECTION_ID();

┌──────────────────────────────────────┐
            connection_id()           
├──────────────────────────────────────┤
 23cb06ec-583e-4eba-b790-7c8cf72a53f8 
└──────────────────────────────────────┘
Last modified April 22, 2024 at 7:30 PM EST: updated context functions (14d970e)