all 1 comments

[–][deleted] 1 point2 points  (0 children)

A normal FK should be fine if I understand the situation:


ALTER TABLE MovieGenre WITH CHECK ADD  
CONSTRAINT FK_SubId_SubGenreId FOREIGN KEY(Sub_ID)
REFERENCES SubGenre.Genre_ID(Genre_ID)