SQL Server Error Msg 6373 – The expression specified for path ‘%.*ls’ is not allowed for selective XML index ‘%.*ls’. It is only allowed to index simple path expressions without predicates.

In this blog post, let’s learn about the error message “6373 – The expression specified for path ‘%.*ls’ is not allowed for selective XML index ‘%.*ls’. It is only allowed to index simple path expressions without predicates.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6373 – The expression specified for path ‘%.*ls’ is not allowed for selective XML index ‘%.*ls’. It is only allowed to index simple path expressions without predicates.

Reason for the Error

To be update soon…

Solution

To be update soon…