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


Issue with slowly changing dimension component


Issue with slowly changing dimension component

Author
Message
Dhivya-427820
Dhivya-427820
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 51
Hi all,

First time i am trying with SCD component. Just a hands on practice to know about the component.

I have a source table with 3 records, below are the list of records i have in the table,

1,2,3
1,2,3
1,2,3

when i applied the SCD to transfer the records to destination table, Type 1 and the business key is column1.

i am getting the following behaviour for the 2 continous execution,

First Run - inserting 3 records irrespective of validationg the repetation of column values.
second run - No change. I understand this, as there was no change in the records so no change in the table.

But for the first run i do not understand why its inserting all 3 records. As per my understanding, it should insert only one record.

Also i tried inserting one record manually(1,2,3) to the table and tried running the package, there was no change in the table. i understand this aswell, as there was no change in the records coming in.

Kindly clarify why for the first run alone, its inserting records without validating the repetation of records.

Thanks & Regards,
Dhivya S
nick.mcdermaid
nick.mcdermaid
SSC Veteran
SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)

Group: General Forum Members
Points: 212 Visits: 767
Is it because of this:

No explanation is given for why certain rows get sent to certain outputs in order to debug data. Items shown as “new” or “changed” may be so due to trailing spaces, case, collation, implicit data type conversion issues on any one of the keys or attributes – but none of that is fed back to you.


(this is from http://dimensionmergescd.codeplex.com/wikipage?title=SCD%20Wizard%20Disadvantages&referringTitle=Home)

I have not used the SCD component before, I have only ever used stored procedures to perform the task. All my research on the topic indicates that the packaged component is not much use for real world scenarios, and that this one is better:

http://dimensionmergescd.codeplex.com/

So if it's important to learn about the out of the box components, by all means continue, but if you wish to use a more 'real world' component, then use the one at the link above.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search