I have three tables:
1) Applications (AppId, Name)
2) Screen (ScreenId, Name)
3) Communication (AppId, ScreenId)
Now I want to apply some restrictions for a linked table: The same screen can be assigned to several applications, but there can not be two screens with the same name that are assigned to one application.
I know that I can add Screen.Name to the relationship table, and then create a PK on AppId and Screen.Name, but I do not want such a solution, since Screen.Name can be changed.
What additional features should I achieve such a limitation?
source share