Return the connection ID. This function retrieves the unique thread identifier for the current client connection.
Syntax
CONNECTION_ID()
Description
Returns the connection ID for the connection. Every connection (including events) has an ID that is unique among the set of currently connected clients.