SQL Server error code
SQL Server error 1776
SQL Server raises error 1776 at severity 16, which marks a problem with the query or data that you can correct.
There are no primary or candidate keys in the referenced table '%.*ls' that match the referencing column list in the foreign key '%.*ls'.
| Msg | 1776 |
|---|---|
| Severity | 16 |
| Group | 1000–1999 |