SQL Server Error Msg 6397 – Path ‘%.*ls’ specified for selective XML index ‘%.*ls’ is too deep. The maximum allowed depth is %d levels.

In this blog post, let’s learn about the error message “6397 – Path ‘%.*ls’ specified for selective XML index ‘%.*ls’ is too deep. The maximum allowed depth is %d levels.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6397 – Path ‘%.*ls’ specified for selective XML index ‘%.*ls’ is too deep. The maximum allowed depth is %d levels.

Reason for the Error

To be update soon…

Solution

To be update soon…