UNPIVOT: Normalizing data on the fly(weblogs.sqlteam.com)
submitted by
jimrice14(880) 4 years ago
Everyone seems to want to "pivot" or "cross tab" data, but knowing how to do the opposite is equally important. In fact, I would argue that the skill of "unpivoting" data is more useful and more important and more relevant to a SQL programmer, since pivoting results in denormalized data, while unpivoting can transform non-normalized data into a normalized result set.
|category: Database
|Views: 4
tags:
Database another
Everyones tags:
Your Tags: