@@MAX_CONNECTIONS
reads configuration (@@ function)
What changes
- Input
- server or session configuration state
- Output or change
- value
- Return type
- integer
Syntax at a glance
@@MAX_CONNECTIONS
Work example
Read the configured maximum connection count for an instance diagnostic.
Read in the same session and compare before and after a controlled session setting change.
Check your work Separate the configured limit from active connections and edition limits.
Open Microsoft Learn for full syntax, permissions, and details for your version.