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
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 |
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 |
I want expect first and last record remaining all records will be loaded into target? which transformations we can use?
What are pre and post-session shell commands?
HOW DO YOU PARFORM INCREMENTAL LAOD ?
In Flat file, I need Header, Footer and No of rows in Last column. How will u achieve in Mapping Level(With out using Session Level Property)?
List the transformation in informatica.
Define mapplet?
How to recover sessions in concurrent batches?
which transformation should we use to get the 5th rank member from a table in informatica?can we achieve this in sql?
what is mapping override?
i have a session which creates a file every time when i runs the session, but it replaces the first file with second file,i want to append the second file follwed by first file when i runs the session,how to achieve this?
what is mapping parameter?
What are multi-group transformations?