CONNECTION_IDOn this pageSyntaxReturn TypeExample Returns the unique connection ID of the current connection. Syntax SQLCopyCONNECTION_ID() Return Type Integer. Example SQLPlaygroundCopySELECT CONNECTION_ID();+-----------------+ | CONNECTION_ID() | +-----------------+ | 171 | +-----------------+ Last modified: February 24, 2023