SQL Server Error Code – 6831 for xml auto requires primary keys to cr

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

SQL Server Error Code

6831

SQL Server Error Description for the Code :6831

FOR XML AUTO requires primary keys to create references for ‘%.*ls’. Select primary keys, or use BINARY BASE64 to obtain binary data in encoded form if no primary keys exist.

Leave Your Comment