I have the source like
col1 col2
a l
b p
a m
a n
b q
x y
How to get the target data like below
col1 col2
a l,m,n
b p,q
x y
Answers were Sorted based on User's Feedback
Answer / venky
src->sorter->exp->agg->tgt
sorter:-
select col1 key as sorter
exp:-
var1=iff(var2=col1,var1||','||col2,col2)
var2=col1
output_port=var1
agg;-
select group by col1
tgt:-
connect to target
| Is This Answer Correct ? | 5 Yes | 4 No |
Answer / hanan
src->exp->agg->tgt
src:-
In sql query write order by col1
exp:-
col1->
col2->
var_col2=iif(col1=var_col1,var_col2||','||col2)
var_col1=col1
output_port=var_col2
agg;-
select group by col1
tgt:-
connect to target
| Is This Answer Correct ? | 0 Yes | 0 No |
WAT IS THE MEANING OF UPGRADTION OF REPOSITORY?
What is workflow? What are the components of the workflow manager?
If i havee 3records in my source having same deptno like Deptid Deptno ------ ------ 101 10 201 10 301 10 and i am using router TR to loading these records into target.Then how many record'll be loaded into target???
How to read data from flat file source if the data is in paragraph format?
list out all the transformations which use cache?
Can I create one wrkflw which will run different wrkflws on schedule time?
expain about the tune parameters?
following scenario i have 1000 record flatfile source i want ist row to ist target 2nd eow to 2nd target 3rd row to 3rd target how will u do?
what is incremental aggregation ,with example?
Mapplets ( can you use source qyalifier, can you use sequence generator, can you use target)
Tell me about MD5 functions in informatica
What is best approach to load 100 different source files (Different structure) to differet target tables ?