SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 Problem with SCD
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shantheguy
Starting Member

India
22 Posts

Posted - 04/26/2013 :  05:44:47  Show Profile  Reply with Quote
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

India
52325 Posts

Posted - 04/26/2013 :  05:55:26  Show Profile  Reply with Quote
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

India
22 Posts

Posted - 04/26/2013 :  06:16:07  Show Profile  Reply with Quote
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

India
52325 Posts

Posted - 04/26/2013 :  06:33:41  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000