bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL CONNECTION_ID() Function

Example

SELECT CONNECTION_ID();

Definition and Usage

The CONNECTION_ID() function returns the unique connection ID for the current connection.

Syntax

CONNECTION_ID()

Technical Details

Works in:From MySQL 4.0

Previous

MySQL COALESCE() Function

Next

MySQL CONV() Function