Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 Problem with SCD

Author  Topic 

shantheguy
Starting Member

22 Posts

Posted - 2013-04-26 : 05:44:47
I have a problem when loading data using SCD. I have 3 business keys inside SCD based upon which the data needs to be updated. First time it was loaded fine. But when we run it for the second time data is getting doubled for the same business keys its not getting updated. Thanks in advance.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-04-26 : 05:55:26
Have you selected changing or historic attributes for other columns? what have you selected as identifying columns for current and expired ones in historic attributes?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

shantheguy
Starting Member

22 Posts

Posted - 2013-04-26 : 06:16:07
Yes i configured all the remaining columns to changing attributes apart from the business key columns. history need not be saved.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-04-26 : 06:33:41
ok..and hope the input is also sorted on business keys. Is there a chance of any of keys containing null values?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -