Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

SCD Implementation with TSQL

By Federico Iori,

SCD  ETL is a typical problem in DataWarehouse.

Theory is at : http://en.wikipedia.org/wiki/Slowly_changing_dimension

The proposed example refers to SCD type 6 :

http://en.wikipedia.org/wiki/Slowly_changing_dimension#Pure_Type_6_implementation

Let's say we want an ETL that does not use SSIS.

The solution is quite simple , uses TSQL except.

Total article views: 1145 | Views in the last 30 days: 4
 
Tags
dwh    
scd    
slowly changing dimensions    
t-sql    
without ssis    
 
Contribute