In this blog post, let’s learn about the error message “6840 – Neither XMLDATA nor XMLSCHEMA supports namespace elements or attributes such as ‘%.*ls’. Run the SELECT FOR XML statement without it or remove the namespace prefix declaration.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
6840 – Neither XMLDATA nor XMLSCHEMA supports namespace elements or attributes such as ‘%.*ls’. Run the SELECT FOR XML statement without it or remove the namespace prefix declaration.
Reason for the Error
To be update soon…
Solution
To be update soon…