SQL Server Error Msg 6331 – Primary XML Index ‘%.*ls’ already exists on column ‘%.*ls’ on table ‘%.*ls’, and multiple Primary XML Indexes per column are not allowed.

In this blog post, let’s learn about the error message “6331 – Primary XML Index ‘%.*ls’ already exists on column ‘%.*ls’ on table ‘%.*ls’, and multiple Primary XML Indexes per column are not allowed.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6331 – Primary XML Index ‘%.*ls’ already exists on column ‘%.*ls’ on table ‘%.*ls’, and multiple Primary XML Indexes per column are not allowed.

Reason for the Error

To be update soon…

Solution

To be update soon…