SQL Server Error Msg 6852 – Attribute-centric column ‘%.*ls’ must not come after a non-attribute-centric sibling in XML hierarchy in FOR XML PATH.

In this blog post, let’s learn about the error message “6852 – Attribute-centric column ‘%.*ls’ must not come after a non-attribute-centric sibling in XML hierarchy in FOR XML PATH.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6852 – Attribute-centric column ‘%.*ls’ must not come after a non-attribute-centric sibling in XML hierarchy in FOR XML PATH.

Reason for the Error

To be update soon…

Solution

To be update soon…