SQL Server Error Msg 6815 – In the FOR XML EXPLICIT clause, ID, IDREF, IDREFS, NMTOKEN, and NMTOKENS attributes cannot be hidden in ‘%.*ls’.

In this blog post, let’s learn about the error message “6815 – In the FOR XML EXPLICIT clause, ID, IDREF, IDREFS, NMTOKEN, and NMTOKENS attributes cannot be hidden in ‘%.*ls’.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6815 – In the FOR XML EXPLICIT clause, ID, IDREF, IDREFS, NMTOKEN, and NMTOKENS attributes cannot be hidden in ‘%.*ls’.

Reason for the Error

To be update soon…

Solution

To be update soon…