3.51.4. LimitQuery Previous topic Parent topic Child topic Next topic

This optional parameter can be used to override the fixed session limit defined by SessionLimit. LimitQuery is an SQL query that is expected to return an integer that will be used as the limit instead of SessionLimit. If LimitQuery fails to execute, or if it does not return any rows, then SessionLimit will be used as the limit instead.
LimitQuery select maxsessions from customers where\