Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

when to use third normal form

 
rehans oberoi
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi


i can say , when there is relationship between non key attribute.
we have to made seprate table for that.

third normal form says . all the non key attribute must be dependent
only on the primary key.

please correct me
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rehans,
Is it a one to one relationship or a correlation? If one non-key field is always the same value given the value of another non-key field, you need a separate table. If it is a correlation (like it is usually a certain value), that is fine.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic