Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Normalization Question
Message
From
16/10/2010 12:32:30
 
 
To
16/10/2010 12:25:22
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
01485679
Message ID:
01485740
Views:
47
>>If you share the address table, you could identify the type of address table record with a code (E for employee C for customer). If the address table also includes the header information, you could link it to the contacts table (if the address table actually contains more information than just the address) for both customers and employees. Not sure by your description if the address table only includes addresses and nothing more.
>
>Here is the exact point where one has to wrestle with normalization: Isn't it possible for an employee to be a customer as well ?
>Giving letters easily leads to the denormalized side - at least as long as they are not keys into a lookup table, where "buying Employee" can easily be added. The other option which is in less danger being tainted IMHO is to give each option its own field: isEmployee, isCustomer and so on.
>[I consider the "least denormalized" version of having a M:N table describing links and adress types in most situations to be overkill...]
>
>regards
>
>thomas

I agree :o)
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform