O'Reilly logo

SQL Server 2017 Integration Services Cookbook by Dejan Sarka, Matija Lah, Christian Cote

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Designing patterns to load dimensions of a data warehouse

The difference between these patterns is the way historical data is stored in the dimensions. We call them Slowly Changing Dimensions (SCD). The following points give an overview of various SCD types:

  • Type 0: This retains the original. This means that any changes to a specific member of the dimension will result in a new member inserted with new values. As opposed to SCD type 2, there's no concept of the current version or start and end date of a row. This SCD type is rarely used.
  • Type 1: This overwrites changes, no history is kept. For example, let's say we have a person's marital status attribute in a claimant dimension. If the initial value at insertion was Single, the attribute ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required