I need to put Shipping address, Shipping postcode, Billing Address and Billing Postcode into one Customer table.
Does that violate the 3NF?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Very strictly speaking: Yes.
Practically speaking: No.
If you don’t plan:
…then stick with your design.
Normalizing the address into a separate table is about as sensible as normalizing first and last names into their separate tables just because they tend to repeat. Don’t do it.
Consider “practical”
vs. “fully normalized”
Plus, the latter system gives you the
headachetheoretical ability of having multiple shipping addresses per customer.The greatest benefit of the latter system is: If they ever change the name of street, all you would need to do is update a single record. In other words: There are no benefits.