Core 26.xReferenceSQL FunctionsScalar FunctionsSystem FunctionsCONNECTION_IDVeloDB Cloud 26.x·Apache Doris 4.x (up to 4.0 supported)·"Since X.Y" tags refer to Apache Doris versionsVersion mappingOn this pageCONNECTION_IDDescription Get the connection number of the current sql client. Syntax SQLCONNECTION_ID() Return Value The connection number of the current sql client. Examples SQLselect connection_id(); TEXT+-----------------+| connection_id() |+-----------------+| 549 |+-----------------+