SQL Server Error Msg 6800 – FOR XML AUTO requires at least one table for generating XML tags. Use FOR XML RAW or add a FROM clause with a table name.

In this blog post, let’s learn about the error message “6800 – FOR XML AUTO requires at least one table for generating XML tags. Use FOR XML RAW or add a FROM clause with a table name.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6800 – FOR XML AUTO requires at least one table for generating XML tags. Use FOR XML RAW or add a FROM clause with a table name.

Reason for the Error

To be update soon…

Solution

To be update soon…