In this blog post, let’s learn about the error message “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.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
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.
Reason for the Error
To be update soon…
Solution
To be update soon…