Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16028

Foreign Key, but to which table it depends (SQL Server)

$
0
0
I have a table and in it are two columns Control and ControlType. If Control Type is P, Control has to exist in xtlbProjects and if ControlType is J, Control has to exist in Jobs. Can I enforce that with a FK?

Viewing all articles
Browse latest Browse all 16028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>