SQL Server Error Msg 2782 – Cannot create table “%.*ls”: A table must have a clustered primary key in order to have XML data type columns.

In this blog post, let’s learn about the error message “2782 – Cannot create table “%.*ls”: A table must have a clustered primary key in order to have XML data type columns.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

2782 – Cannot create table “%.*ls”: A table must have a clustered primary key in order to have XML data type columns.

Reason for the Error

To be update soon…

Solution

To be update soon…