my source has 2 columns. 1st column data: ABC ABC ABC XYZ
and 2nd column data: 1 2 3 4. And my target should be ABC 1 2
3, XYZ 4

Answer Posted / shiva

col1 col2 COL1 COL2
ABC 1 ABC 1,2,3
ABC 2 XYZ 4
ABC 3
XYZ 4

S-SQ-AGG-SORT-TGT

IN AGG TAKE 4 VARIABLE PORTS

1)V_COL1 (in this write) v_cur_col1
2)v_cur_col1 (in this write) col1
3)flag (in this) iff(col1=v_col1,1,0)
4)v_col2 (in this ) decode(flag=1,v_col2||,||col2,col2
5)o_col2 (in this) v_col2 (this is a o/p port)

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain in detail about scd type 1 through mapping.

589


What is meant by lookup transformation?

613


What is rank index in rank transformation?

603


How might you approve all mappings in the archive all the while?

602


What will happen if the select list columns in the custom override sql query and the output ports order in sq transformation do not match?

552






How do you convert single row from source into three rows into target?

605


What are the prerequisite tasks to achieve the session partition?

714


can i any one explain me realtime healthcare project explanation..for interview .iam new to informatica .thanks in advance.

3324


Do you find any difficulty while working with flat files as source and target?

673


How to create a non-reusable instance of reusable transformations?

682


What are session parameters ? How do you set them?

1377


Briefly define reusable transformation?

624


how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?

1970


What is the difference between Active and Passive transformation?

633


What is status code in informatica?

586