SQL Server Error Msg 6870 – Prefix ‘%.*ls’ used in WITH XMLNAMESPACES clause contains an invalid XML identifier. ‘%c'(0x%04X) is the first character at fault.

In this blog post, let’s learn about the error message “6870 – Prefix ‘%.*ls’ used in WITH XMLNAMESPACES clause contains an invalid XML identifier. ‘%c'(0x%04X) is the first character at fault.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6870 – Prefix ‘%.*ls’ used in WITH XMLNAMESPACES clause contains an invalid XML identifier. ‘%c'(0x%04X) is the first character at fault.

Reason for the Error

To be update soon…

Solution

To be update soon…