SQL Server Error Msg 6802 – FOR XML EXPLICIT query contains the invalid column name ‘%.*ls’. Use the TAGNAME!TAGID!ATTRIBUTENAME[!..] format where TAGID is a positive integer.

In this blog post, let’s learn about the error message “6802 – FOR XML EXPLICIT query contains the invalid column name ‘%.*ls’. Use the TAGNAME!TAGID!ATTRIBUTENAME[!..] format where TAGID is a positive integer.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6802 – FOR XML EXPLICIT query contains the invalid column name ‘%.*ls’. Use the TAGNAME!TAGID!ATTRIBUTENAME[!..] format where TAGID is a positive integer.

Reason for the Error

To be update soon…

Solution

To be update soon…