You have two columns in source table T1, in which the col2 may contain duplicate values.All the duplicate values in col2 of will be transformed as comma separated in the column col2 of target table T2.
Source Table: T1
Col1 Col2
a x
b y
c z
a m
b n
Target Table: T2
col1 col2
a x,m
b y,n
c z
Solution:
1. We have to use the following transformation as below.
First connect a sorter transformation to source and make col1 as key and its order is ascending. After that connect it to an expression transformation.
2. In Expression make four new port and give them name as in picture below.
3. In concat_val write expression like as describe bellow and send it to an aggregator
4. In aggregator group it by col1 and send it to target
5. Finally run the session.
…………..
Tuesday, December 11, 2012
Concatenation of duplicate value by comma separation
Subscribe to:
Post Comments (Atom)
Tags
Architecture of UNIX
(1)
Basic Unix Commands
(1)
Data warehousing Quiestions1
(1)
Debugger
(1)
Downloads
(1)
ETL Process
(1)
Fundamentals of UNIX
(1)
Get top 5 records to target without using rank
(1)
Home
(1)
How do you perform incremental logic or Delta or CDC
(1)
Incremental Loading for Dimension Table
(1)
Informatica Complete Reference
(1)
Informatica Functions
(1)
Informatica Powercenter Architecture
(1)
informatica project
(1)
Informatica Quiestions
(1)
Informatica Quiestions3
(1)
Informatica Real time Scenarios
(2)
Informatica scenarios
(3)
Integration Testing
(1)
Introduction of Unix
(1)
Oracle Queries
(1)
Power center Client
(1)
Separate rows on group basis
(1)
TESTING-User Acceptance Test
(1)
Unit Testing
(1)
Unix
(2)
What is informatica
(1)
This article is very nice and informative to learners
ReplyDeleteInformatica training, informatica training in bangalore, informatica online training