Converting Rows to columns
I have Relational source like his.
JAN FEB MAR APR
100 200 300 400
500 600 700 800
900 100 200 300
I need to convert these rows into columns to the targe.
MONTH TOTAL
JAN 1500
FEB 900
MAR 1200
APR 1500
Please experts help me
Answer Posted / dilip ingole
using query
SELECT 'JAN' AS MONTHS,SUM(JAN) FROM CALADERQUERY
UNION
SELECT 'FEB' AS MONTHS,SUM(FEB) FROM CALADERQUERY
UNION
SELECT 'MAR' AS MONTHS,SUM(MAR) FROM CALADERQUERY
UNION
SELECT 'APR' AS MONTHS,SUM(APR) FROM CALADERQUERY;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?
Have you worked with/created Parameter file
What is a predefined event?
what is unit testing?tell me proceedure
How to use pmcmd utility command?
Explain lookup transformation source types in informatica
What is native users?
Difference between Data and Index Caches?
How to generate or load values in to the target table based on a column value using informatica etl tool.
What is a repository manager?
Can we change Dynamic to Static or Persistent cache? If so what happens?
What are batches?
What is the use of code page?
What are the types of data warehouses?
differences between service based and product based?