Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SQL Server 2017 Integration Services Cookbook

You're reading from  SQL Server 2017 Integration Services Cookbook

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781786461827
Pages 558 pages
Edition 1st Edition
Languages
Authors (6):
Christian Cote Christian Cote
Profile icon Christian Cote
Dejan Sarka Dejan Sarka
Profile icon Dejan Sarka
David Peter Hansen David Peter Hansen
Profile icon David Peter Hansen
Matija Lah Matija Lah
Profile icon Matija Lah
Samuel Lester Samuel Lester
Profile icon Samuel Lester
Christo Olivier Christo Olivier
Profile icon Christo Olivier
View More author details
Toc

Table of Contents (18) Chapters close

Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
1. SSIS Setup 2. What Is New in SSIS 2016 3. Key Components of a Modern ETL Solution 4. Data Warehouse Loading Techniques 5. Dealing with Data Quality 6. SSIS Performance and Scalability 7. Unleash the Power of SSIS Script Task and Component 8. SSIS and Advanced Analytics 9. On-Premises and Azure Big Data Integration 10. Extending SSIS Custom Tasks and Transformations 11. Scale Out with SSIS 2017

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 value is updated to Married when the person gets married.
  • Type 2: This keeps history (versioning). A bunch of system columns are added to the dimension:
    • The start and end date of the dimension member (row). Usually, the start date equals the date when the...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}