SQL Server Error Msg 6336 – Maximum size of primary index of table ‘%.*ls’ is %d bytes. CREATE XML INDEX requires that such size should be limited to %d bytes

In this blog post, let’s learn about the error message “6336 – Maximum size of primary index of table ‘%.*ls’ is %d bytes. CREATE XML INDEX requires that such size should be limited to %d bytes” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6336 – Maximum size of primary index of table ‘%.*ls’ is %d bytes. CREATE XML INDEX requires that such size should be limited to %d bytes

Reason for the Error

To be update soon…

Solution

To be update soon…