SQL Server Error Msg 6821 – GROUP BY and aggregate functions are currently not supported with FOR XML AUTO.

In this blog post, let’s learn about the error message “6821 – GROUP BY and aggregate functions are currently not supported with FOR XML AUTO.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6821 – GROUP BY and aggregate functions are currently not supported with FOR XML AUTO.

Reason for the Error

To be update soon…

Solution

To be update soon…