SQL Server error code
SQL Server error 8161
SQL Server raises error 8161 at severity 15, which marks a problem with the query or data that you can correct.
Argument %d of the %.*ls function does not match any of the expressions in the GROUP BY clause.
| Msg | 8161 |
|---|---|
| Severity | 15 |
| Group | 8000–8999 |