SQL Server Error Code – 6826 every idrefs or nmtokens column in a for

In this blog post, you’ll learn more about the SQL Server Error Code 6826 and the error message description that is shown

SQL Server Error Code

6826

SQL Server Error Description for the Code :6826

Every IDREFS or NMTOKENS column in a FOR XML EXPLICIT query must appear in a separate SELECT clause, and the instances must be ordered directly after the element to which they belong.