A
Amit
Hi,
I'm designing tables to store informaion on organizations
and organization representatives; and staff. Currently, I
have
1. person table that includes common fields for staff and
organization representatives, including their mailing
address
2. staff table to store information on staff (these are
fields relevant to staff)
3. representative table to store information on
representatives (fields relevant to representatives)
4. organization table (information on organization,
including the mailing address)
There is some duplication because many staff will have the
same mailing address. Also, there is duplication of
address between the organization table and the
representative table (representatives working for org A
will have the same mailing address).
I'm unable to decide if I should keep the design as is
(with some duplication), or make a separate table
called "Address table", and then include the "Address
Primary Key" in the other tables?
Having a separate Address Table will reduce the typing
somewhat as the address can be looked up, instead of re-
typing it. It will also result in extra code to handle a
new address (either add it to the Address table after
typing it, or have a separate form to enter a new address
if not in the list). I also remember reading an article at
Microsoft that it is recommended to not have a separate
Address table, even though it is theoretically pure.
Any thoughts on this will be appreciated.
Thanks in advance.
-Amit
I'm designing tables to store informaion on organizations
and organization representatives; and staff. Currently, I
have
1. person table that includes common fields for staff and
organization representatives, including their mailing
address
2. staff table to store information on staff (these are
fields relevant to staff)
3. representative table to store information on
representatives (fields relevant to representatives)
4. organization table (information on organization,
including the mailing address)
There is some duplication because many staff will have the
same mailing address. Also, there is duplication of
address between the organization table and the
representative table (representatives working for org A
will have the same mailing address).
I'm unable to decide if I should keep the design as is
(with some duplication), or make a separate table
called "Address table", and then include the "Address
Primary Key" in the other tables?
Having a separate Address Table will reduce the typing
somewhat as the address can be looked up, instead of re-
typing it. It will also result in extra code to handle a
new address (either add it to the Address table after
typing it, or have a separate form to enter a new address
if not in the list). I also remember reading an article at
Microsoft that it is recommended to not have a separate
Address table, even though it is theoretically pure.
Any thoughts on this will be appreciated.
Thanks in advance.
-Amit