SQL Server Error Msg 6849 – FOR XML PATH error in column ‘%.*ls’ – ‘//’ and leading and trailing ‘/’ are not allowed in simple path expressions.

In this blog post, let’s learn about the error message “6849 – FOR XML PATH error in column ‘%.*ls’ – ‘//’ and leading and trailing ‘/’ are not allowed in simple path expressions.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6849 – FOR XML PATH error in column ‘%.*ls’ – ‘//’ and leading and trailing ‘/’ are not allowed in simple path expressions.

Reason for the Error

To be update soon…

Solution

To be update soon…