Keep getting this error :
Msg 1776, Level 16, State 0, Line 1
There are no primary or candidate keys in the referenced table 'tbl_property' that match the referencing column list in the foreign key 'fk_Trace_num'.
Msg 1750, Level 16, State 0, Line 1
Could not create constraint. See previous errors.
I have created two tables , and am trying to create a relationship but somehow keeps getting the above error.
I have created a composite key in the table and now want to create a foreign key for that in another table.