How to add foriegn key without using primarry in other table in sql server?
Answers
Answered by
0
Easy. If you have 2 values the same in the parent table, how do you know which one to associate child rows to? One side of foreign key must be unambiguous
The requirement is also "unique key", not just a primary key which of course unique
The requirement is also "unique key", not just a primary key which of course unique
Similar questions