Browse this sectionDevSQL 関数スカラー関数システム関数CONNECTION_IDこのページの見出し2026年5月17日に最終更新CONNECTION_IDDescription Get the connection number of the current sql client. Syntax CONNECTION_ID() Return Value The connection number of the current sql client. Examples select connection_id(); +-----------------+| connection_id() |+-----------------+| 549 |+-----------------+