SQL Server Error Code – 10780 there is no primary key in the reference

In this blog post, you’ll learn more about the SQL Server Error Code 10780 and the error message description that is shown

SQL Server Error Code

10780

SQL Server Error Description for the Code :10780

There is no primary key in the referenced table ‘%.*ls’ that matches the referencing column list in the foreign key ‘%.*ls’. Foreign keys in memory-optimized tables must reference primary keys.

Leave Your Comment