R
ryan_eng
The pressure is on people, need some help!
My database has a table of "activities" to store drawings, documents and
miscellaneous activities. I put all three in one table to simplify the design
and also because the types of data required for each is almost identical.
Anyways, drawings and documents can have revisions, and I need the ability to
treat the drawing/document number + revision as the "primary key" to enforce
referential integrity. I need some advice on how to set up the primary key
for the Activities table such that the combination of drawing/document
numbers + revision number aren't duplicated.
Thanks
RYAN
My database has a table of "activities" to store drawings, documents and
miscellaneous activities. I put all three in one table to simplify the design
and also because the types of data required for each is almost identical.
Anyways, drawings and documents can have revisions, and I need the ability to
treat the drawing/document number + revision as the "primary key" to enforce
referential integrity. I need some advice on how to set up the primary key
for the Activities table such that the combination of drawing/document
numbers + revision number aren't duplicated.
Thanks
RYAN