How u implement the slowly changing dimensions if my source
table is consisting of cid,cname,add,phno,email but i need to
capture the changes for first three columns how u implement?



How u implement the slowly changing dimensions if my source table is consisting of cid,cname,add,p..

Answer / vinod upputuri

This is done by using the Change_Capture_Stage.

In the CDS stage: specify the change key's--> cid and
change_values as cname,add and phone etc

CDC stage triggers the Change_code as 3 if there is any
changes in the cname or add or phone no for the existing cid.

Ex: cid,cname,add,phone,email
1,'vin','bang','08979','vin@Gmail.com'

REf:
cid,cname,add,phone,email
1,'vin','HYD','08979','vin@Gmail.com'

O/P: cid,cname,add,phone,email,Change_code
1,'vin','HYD','08979','vin@Gmail.com',3

Is This Answer Correct ?    13 Yes 0 No

Post New Answer

More Data Stage Interview Questions

what is a nodemap constraint

2 Answers   IBM,


what is data mapping

2 Answers  


What is diff between Junk dimensions and conform dimension?

4 Answers   Polaris,


What are sequencers?

0 Answers  


How to exclude first and last lines while reading data into a sequential file(having some 1000 records).I guess probably by using unix filter option but not sure which to use

6 Answers   IBM,






how to configure databases through datastage

2 Answers  


Hi Vijay here For Four CPU's how many nodes will required?

4 Answers   TCS,


How we can convert rows to columns in datastage?

4 Answers   IBM,


source file contains 100 records, i want 10 records in target file how it possible in datastage

6 Answers   IBM,


how to convert rows into columns

2 Answers   IBM,


difference between server shared container and parallel shared container

6 Answers   CTS,


1)Source file contains one record, I want 100 records in target file.

3 Answers  


Categories