SQL Server Error Msg 6378 – Table ‘%.*ls’ needs to have a clustered primary key with less than %d columns in it in order to create a selective XML index on it.

In this blog post, let’s learn about the error message “6378 – Table ‘%.*ls’ needs to have a clustered primary key with less than %d columns in it in order to create a selective XML index on it.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6378 – Table ‘%.*ls’ needs to have a clustered primary key with less than %d columns in it in order to create a selective XML index on it.

Reason for the Error

To be update soon…

Solution

To be update soon…