on 04-23-2018 11:01 AM
Hi All,
Could you anyone help me how to implement SCD type 2 with out using TC ,History prevent ,key generation. i dont want use even Lookup conditions also.
And please let me know performance when we have huge records.
Thanks in Advance !.
Regards,
Priyanka.
Hi Vibhor,
Thanks for Response.
Let me try your suggestion and let you know the performance.
Thanks!.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hii Priyanka, Yes it is possible to implement SCD Type 2 without TC but key generation requirement depends on whether your business logic is demanding new keys/surrogate keys to be generated or not. Those keys should get incremented by a constant.
It depends how you want to achieve it. You can use Case transformation after Query transformation.
source-> query tr-> Case transform-----now distribute into 3 query transformations 1) Insert new records 2) Update records 3) Discard -> 3 Map operations to change the opcodes -> Attach target table 3 times in respective order.
It should be something like this. Use query transform as per your logics.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.