SQL Server error code
SQL Server error 8177
SQL Server raises error 8177 at severity 16, which marks a problem with the query or data that you can correct.
Cannot use a column in the %hs clause unless it is contained in either an aggregate function or the GROUP BY clause.
| Msg | 8177 |
|---|---|
| Severity | 16 |
| Group | 8000–8999 |