The Source coloumns are A,B,C with data row1- 10,20,30 row2-
40,50,60 row3-70,80,90 and so on. In the target I want one
coloumn with the following data, Coloumn-X, row1-10,row2-
20,row3-30,row4-40,row5-50 and so on. How to achieve this?

Answers were Sorted based on User's Feedback



The Source coloumns are A,B,C with data row1- 10,20,30 row2- 40,50,60 row3-70,80,90 and so on. In t..

Answer / babu

Hi All,


By using Normalizer Transformation we will achive this.

Mapping:
========

Src==>SQ==>Nrm(Normalizer)==>Srt(sorter)==>Trg

Nrm:Column(Occerence 3)

Column1 (inputport)
Column2 (inpuport)
Column3 (inputport)

Column (outputport)===> Srt ==>Trg

Is This Answer Correct ?    12 Yes 1 No

The Source coloumns are A,B,C with data row1- 10,20,30 row2- 40,50,60 row3-70,80,90 and so on. In t..

Answer / swapnil

no need to use normalizer here, take 3 expression and 3
instance of target.
Create 3 expression transformations exp_1,exp_2 and exp_3
with 1 port each. Connect col1 from Source Qualifier to
port in exp_1.Connect col2 from Source Qualifier to port in
exp_2.Connect col3 from source qualifier to port in exp_3.
Make 3 instances of the target. Connect port from exp_1 to
target_1. Connect port from exp_2 to target_2 and connect
port from exp_3 to target_3.

Is This Answer Correct ?    6 Yes 1 No

The Source coloumns are A,B,C with data row1- 10,20,30 row2- 40,50,60 row3-70,80,90 and so on. In t..

Answer / kuldeep singh rathore

Create 3 expression transformations exp_1,exp_2 and exp_3
with 1 port each. Connect col1 from Source Qualifier to
port in exp_1.Connect col2 from Source Qualifier to port in
exp_2.Connect col3 from source qualifier to port in exp_3.
and we merge all output of all 3 expressions by UNION trans
and direct load to tgt from union

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

complex mapping ur project u r invlve can u explain and give real time example give me ?

0 Answers   HGS, TCS,


i have one table like cust_id ph1 ph2 ph3 1002 9290123526 97671927210 9876545232 we use Normalizer wt is o/p? sue normalizer we can generate three tables in single table/

4 Answers  


How we will implement Pushdown Optimization and Types in Informatica with better examples

4 Answers   TCS,


Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

0 Answers   Informatica,


How can repository reports be accessed without sql or other transformations?

0 Answers  






what is the difference between repository & Intergration service

1 Answers  


Can you start a batches with in a batch?

1 Answers  


Consider a Phone Log table as below. It records all phone numbers that we dial in a given day. SOURCE_PHONE_NUMBER DESTINATION_PHONE_NUMBER CALL_START_DATETIME 1234 4567 01/07/2011 10:00 1234 2345 01/07/2011 11:00 1234 3456 01/07/2011 12:00 1234 3456 01/07/2011 13:00 1234 4567 01/07/2011 15:00 1222 7890 01/07/2011 10:00 1222 7680 01/07/2011 12:00 1222 2345 01/07/2011 13:00 Please provide an SQL query to display the source_phone_number and a flag where the flag needs to be set to Y if first called number and last called number are the same and N if the first called number and last called number are different. Desired Output: Source Number Is_Match 1222 N 1234 Y

2 Answers   Amazon,


Which transformation is needed while using the Cobol sources as source definitions?

0 Answers   Informatica,


How to eliminate duplicates in FF and oracle both

3 Answers   CSC,


How can we handle two sessions in informatica?

0 Answers  


How do you migrate data from one environment to another?

0 Answers  


Categories