Quote:
|
Originally Posted by fjm1967
Is it incorrect to have one table for all addresses, one table for all phone numbers, etc???
|
no it isn't
except phone numbers are usually best handled as totally dependent attributes, rather than independent entitites
the only person who might care about a phone number as a phone number, independent of whose number it is, is the phone company
granted, if you have a many-to-many relationship, where the phone number is shared amongst several owners, then you might want to set up a many-to-many relationship table to track it -- i wouldn't, myself, i would simply have the phone number be a dependent attribute, and allow repetition
the same rationale can be applied to addresses, you could simply repeat an address if it is shared, although a separate table makes more sense because of the simplicity of being able to refer to a single address, which consists of multiple values (number, street, city, lat and long, etc.), using a single key value