SQL Server Error Msg 21165 – Column ‘%s’ cannot be excluded from a vertical partition because it is neither nullable nor defined with a default value.

In this blog post, let’s learn about the error message “21165 – Column ‘%s’ cannot be excluded from a vertical partition because it is neither nullable nor defined with a default value.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

21165 – Column ‘%s’ cannot be excluded from a vertical partition because it is neither nullable nor defined with a default value.

Reason for the Error

To be update soon…

Solution

To be update soon…