we have tables like
c1 a
c2 b
c3 c
c4 x
c5 y
and i need output like abcx in a single row and abcy in
a single row? how do u do this?

Answers were Sorted based on User's Feedback



we have tables like c1 a c2 b c3 c c4 x c5 y and i need output like abcx in a single r..

Answer / krishnendu guha

I believe c1 c2 c3 are the columns

you can override the source qualifier with the following
query

select c1,c2,c3,c4 from table1
union all
select c1,c2,c3,c5 from table1
this should do..

Is This Answer Correct ?    10 Yes 9 No

we have tables like c1 a c2 b c3 c c4 x c5 y and i need output like abcx in a single r..

Answer / gunjan singhal

select c1+c2+c3+c4 from table1
union all
select c1+c2+c3+c5 from table1

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More Informatica Interview Questions

What are the types of lookup caches?

10 Answers   Accenture, IBM, Informatica,


What is the difference between view and materialised view?

6 Answers  


What are the different clients of powercenter?

0 Answers  


If my source is having 30 million records, so obviously the cache could not be allocated with sufficient memory. What needs to be done in this case?

2 Answers   TCS,


What are different types of transformations available in informatica?

0 Answers  






Source and Target are flat files, Source table is as below ID,NAME 1,X 1,X 2,Y 2,Y On Target flat file i want the data to be loaded as mentioned below ID,NAME,REPEAT 1,X,2 1,X,2 2,Y,2 2,Y,2 How to achieve this, Can i get a map structure

2 Answers   CTS,


What is meant by LDAP users?

0 Answers  


what is upstream and downstream transformation?

7 Answers  


Have you worked with/created Parameter file

0 Answers  


What are the tasks that can be performed using sq?

0 Answers  


What do you mean by blocking transformation?

0 Answers  


SOURCE DATA IS DISPLAY IN THIS FORMATE IN TARGET . WHAT BUSINESS LOGIC WE CAN APPLY. source table target table ------------ ------------ c1 c2 c3 c1 c2 c3 -- -- -- -- -- -- 1 A J 1 2 B K 2 A 3 C L 3 B J 4 D M 4 C K 5 E N 5 E L F M N

0 Answers   Infotech,


Categories