CONNECTION_ID
Returns the unique connection ID of the current connection.
Syntax
CONNECTION_ID()
Return Type
Integer.
Example
SELECT CONNECTION_ID(); **** +-----------------+ | CONNECTION_ID() | +-----------------+ | 171 | +-----------------+
Returns the unique connection ID of the current connection.
CONNECTION_ID()
Integer.
SELECT CONNECTION_ID(); **** +-----------------+ | CONNECTION_ID() | +-----------------+ | 171 | +-----------------+