|
-
Sep 23rd, 2007, 02:43 PM
#1
Thread Starter
Member
Relationships/Normalization
Hello, I am having a bit of trouble understanding how I should set up some relationships.
So far I will have 3 Tables Mfr, Model, Procedures. (more to come, but just getting started)
The rules are a Mfr can not be duplicated, but can have many models.
Model numbers can be duplicated BUT a mfr, model combination can not. i.e. model 123 can be made by company ABC and XYZ, but an ABC 123 can only occur once.
A procedure can cover many models, but a model can have only one procedure.
So far I have.
MFR_Table
MFR_ID MFR_Name Website Phone etc.
MDL_Table
MDL_ID MDL_Num Description Price Image etc.
PROC_Table
PROC_ID PROC_Num (the document, or a path to the document) date, approval, revision, etc
So I guess I set a FK_Relationship between MFR and MDL, but I'm not sure how to handle the relationship between MDL and PROC applying the rules given above.
Am I even on the right track or does this require a different approach?
Thanks for any suggestions.
"Rightful liberty is unobstructed action according to our will within limits drawn around us by the equal rights of others. I do not add 'within the limits of the law' because law is often but the tyrant's will, and always so when it violates the rights of the individual."
Thomas Jefferson
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|