SQL Server error code
SQL Server error 8160
SQL Server raises error 8160 at severity 15, which marks a problem with the query or data that you can correct.
A GROUPING or GROUPING_ID function can only be specified when there is a GROUP BY clause.
| Msg | 8160 |
|---|---|
| Severity | 15 |
| Group | 8000–8999 |