C
CommonSenseBoy
I have a design dilemma-- I have a join table (protective gear for a specific
chemical) with one foreign key from the chemical table, and one foreign key
for the gear. The gear comes from two tables (supplies and equipment),
though, and relating both of these tables to one field causes errors since
necessarily one part number is only in one of the those tables. I can either
stop enforcing referential integrity (not sure what that could do down the
line), create a second field for the second table and stash a null value in
whichever field isn't being used for a particular record (inelegant and AFAIK
in violation of 4nf), or split into two join tables and cull all the data in
a query. What would be the soundest way to relate these together?
Thanks,
Bill
chemical) with one foreign key from the chemical table, and one foreign key
for the gear. The gear comes from two tables (supplies and equipment),
though, and relating both of these tables to one field causes errors since
necessarily one part number is only in one of the those tables. I can either
stop enforcing referential integrity (not sure what that could do down the
line), create a second field for the second table and stash a null value in
whichever field isn't being used for a particular record (inelegant and AFAIK
in violation of 4nf), or split into two join tables and cull all the data in
a query. What would be the soundest way to relate these together?
Thanks,
Bill