SQL Server error code
SQL Server error 6821
SQL Server raises error 6821 at severity 16, which marks a problem with the query or data that you can correct.
GROUP BY and aggregate functions are currently not supported with FOR XML AUTO.
| Msg | 6821 |
|---|---|
| Severity | 16 |
| Group | 6000–6999 |