Source table

-------------

ID NAME

--- ------

101 PANKAJ

NULL KUMAR

NULL MATHUR

102 JYOTI

NULL SAXENA

103 SACHIN

NULL TENDULKAR





TARGET TABLE

-------------

ID NAME

--- -------

101 PANKAJ KUMAR MATHUR

102 JYOTI SAXENA

103 SACHIN TENDULKAR

IN ORACLE & INFORMATICA LEVEL HOW TO ACHIVE

Answers were Sorted based on User's Feedback



Source table ------------- ID NAME --- ------ 101 PANKAJ NULL KUMAR NULL M..

Answer / keshav

CREATE AN EXPRESION TALE 2 VARIABLE AND 2 OUTPUT PORTS

FOR VARIABLE PORTS WRITE THE BELOW EXPRESSIONS

V_NAME(v)=IIF((IIF(ISNULL(ID),V_ID,ID)=V_ID),V_NAME || ' ' || NAME,NAME )

V_ID(v)=IIF(ISNULL(ID ) , V_ID, ID )

OUT_ID(o)=V_ID
OUT_NAME(o)=V_NAME

AFTER TAKE AGGREGATER AND SELECT OUT_ID AS GROUP BY PORT

AFTER CONNECT TO TARGET

Is This Answer Correct ?    4 Yes 1 No

Source table ------------- ID NAME --- ------ 101 PANKAJ NULL KUMAR NULL M..

Answer / narayanaswami

HI FRIENDS........
Please check this answer....
source table has 2 columns id,name.pass to expression .
remove o/p port in name column,take another port select only o/p port, write code in side of the port
REPLACECHR(0,NAME,'NULL',' ')
pass to target. mapping like

SD=>SQ=>EXP=>TGT.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

8.what is mapplet ?give example?

2 Answers  


Did u used latest transformations of 8.6.0? for what?

0 Answers  


what is the diff b/w target load plan and cbl?

3 Answers   CTS, iGate,


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

2 Answers   Zensar,


Can we use Union Transformation for Heterogeneous sources? i.e; 3 sources, 1 from Oracle, 2nd from Informix, 3rd from Sql Server with same metadata?

3 Answers   TCS,






In Lookup transformation a sql override should be done and disable the cache how do you do this procedure?

1 Answers   Wipro,


What are the different clients of powercenter?

0 Answers  


write a sql query following table some duplicate present 1 1 2 2 3 3 4 5 i want the output unique one column duplicate another column following format like unique duplicate 1 1 2 2 3 3 4 5

2 Answers   TCS,


How we can create indexes after completing the loan process?

0 Answers  


what are the limitations of pushdown optimization technique ? Advance thanks

3 Answers   Puma,


what are objects in data warehouse?

2 Answers   Mind Tree,


What are the advantages of using informatica as an etl tool over teradata?

0 Answers  


Categories