Thursday, March 15, 2012

Joins on denormalized data vs. joins on unique code lists.


List1 could be linked to the code table without causing row duplication.Linking List1 to List2 will causing row duplication as neither list is unique.
Code Table<--->List1<--->List2
JacobJaydenJacobJaden appears two times in list one and three times in list two which will result in 3 records 2 times or six records being returned just due to links on the Jayden demormalized data.
EthanEthanJacob
MichaelMichaelMichael
JaydenJaydenJayden
WilliamWilliamWilliam
AlexanderAlexanderJayden
NoahNoahJayden
DanielDanielDaniel
AidenAidenAiden
AnthonyAnthonyAnthony

No comments:

Post a Comment