SQL Server Error Msg 6346 – Cannot convert a primary XML index to a secondary XML index using the DROP_EXISTING option. ‘%.*ls’ is a primary XML index.

In this blog post, let’s learn about the error message “6346 – Cannot convert a primary XML index to a secondary XML index using the DROP_EXISTING option. ‘%.*ls’ is a primary XML index.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6346 – Cannot convert a primary XML index to a secondary XML index using the DROP_EXISTING option. ‘%.*ls’ is a primary XML index.

Reason for the Error

To be update soon…

Solution

To be update soon…