Good afternoon all. This is a conceptual question on table design. I have not come across this situation so I thought I'd see what people have to say about it.
I have three tables in a twelve table database which, between the three of them, comprise 32 columns. They are joined together by a column called PIN. My conceptual issue is that the two relationships that bind the tables together are one-to-one. So, I could really put all 32 columns in a single table with PIN as the primary key. The reason I split the schema out into three tables was two-fold.
One, it seemed to me that 32 columns is a lot to have in a single table in a normalized database. Two, the divisions that I created make sense when one looks at the groupings; for example, CP_Status and CP_Number are closely related to each other in the actual business process that I'm modeling, and so are FM_Doc and FM_Amt. All four columns have a one-to-one relationship with PIN, and yet in the real world each set of columns has a different role in the business process. Does this make any sense?
Up to this point, the development process has worked fine with the split, but it does make the SQL more complicated on account of having to do the JOINs.
The database in question is a SQL Server back end/Access front end connected via ODBC. Thanks in advance for any insight.
Pat
I have three tables in a twelve table database which, between the three of them, comprise 32 columns. They are joined together by a column called PIN. My conceptual issue is that the two relationships that bind the tables together are one-to-one. So, I could really put all 32 columns in a single table with PIN as the primary key. The reason I split the schema out into three tables was two-fold.
One, it seemed to me that 32 columns is a lot to have in a single table in a normalized database. Two, the divisions that I created make sense when one looks at the groupings; for example, CP_Status and CP_Number are closely related to each other in the actual business process that I'm modeling, and so are FM_Doc and FM_Amt. All four columns have a one-to-one relationship with PIN, and yet in the real world each set of columns has a different role in the business process. Does this make any sense?
Up to this point, the development process has worked fine with the split, but it does make the SQL more complicated on account of having to do the JOINs.
The database in question is a SQL Server back end/Access front end connected via ODBC. Thanks in advance for any insight.
Pat
Comment