1-1 relationships really shouldn't exist--you should accommodate the data in just one table--you wouldn't store first name in one table and last name in another even though they are in a 1-1 relationship. Instead you have 2 fields in 1 table for that data.
I'm not a pro programmer, not even as good as most of members here. But I think you're wrong about 1-1 relationships.
A 1-1 relationship is used to break down a table with too many fields into 2 tables.
In my case, I have a table that takes care of orders to our company. I have several table such as tblParts, tblCustomers, tblMachines, tblProcesses and several more. Another table is used to register the incoming orders and how each order is processed and who has done each process.
It means each order has OrderID, CustomerID, IsToBeDeliveredOn, PartID, Revision, OrderedByID, NeedToBePainted, HasToBeDeliveredOn, ProgrammedByID, ProgrammedOn, WeldedOn, WeldedBy, PaintedOn, PaintedBy......
There's more than a hundred necessary fields for each Order. To keep things simpler, I've divided this table into two tables, One takes care of registered info of the order, one takes care of manufacturing section, each one more than 50 fields. These two tables are linked with a 1-1 relation and the OrderID field as the linked field.
Just curious. How can you take care of this situation with a 1 to many relationship? Or do you keep all the fields in one table?
Last edited: