And here's another questions for you guys.
I completely understand the 1-many relationship and the need for this type of relation. I think I understand the 1-1 relationship and just want to make sure I'm correct.
Obviously the 1-1 relation means the primary table has a foreign key field that links to a single record in a related table. My question is regarding the appropriate times to use this? Here is an example of where I think it's appropriate and what I understand as the reason for using it.
My "main" table is a table that contains the basic details for each employee. Along with the basic information we also need to enter in lots of additional data like: tax form information, emergency contact information, employee application information, etc..
This is a lot of data that needs to be associated with each employee but will be accessed very rarely in relation to the employees basic information. I'm making the assumption that having ALL this data in one single table would create a lot of extra overhead when querying for just the basic employee info. (besides just being an un-sorted collage of random data in a single table, which my OCD doesn't like one bit).
So the correct thing to do would be create a collection of seperate table to hold the different sets of data in, like: mng_employee_application, mng_emp_tax_data, mng_emp_emergency_contacts, etc.. and then link the records of each set of data back to the corresponding employee by means of the employee_ID primary key and 1:1 relationship.
Am I on the right track here? I'm looking at all the additional tables I need to start creation and just want to make sure I really am understanding this correctly before I move on.
Ohhh... one last quick question... Would you put a datatime stamp field in every table or is there another method for managing multiple users entering data simultaneously?
THANKS AGAIN for all your guys advice!