Hi All,
I have three question.
1) How to remove the header and footer in a flat file in
informatica?
2)How to load the first and last record of flat file into
the target?
3)I have a Input and Output table.
Input
Name Salaray Month
A 100 Jan
A 200 Feb
A 300 March
B 400 April
B 500 May
B 600 June
Output
Name Salaray Month
A 100 Jan
A 300 Feb
A 600 March
B 400 April
B 900 May
B 1500 June
How to implement and get the ouput as mentioned above.
If Possible kindly provide the SQL query also.
Kindly any one help to implement this concept.
Thanks,
Pradeep
Answer Posted / babu
Hi Pradeep,
SQL Query for your requirement
============================
SELECT Name,SUM(salary) OVER(PARTITION BY Name ORDER BY Name,salary) AS Salary, MONTH FROM SAMPLE
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Slowly changing dimensions, types and where will you use them
Can u generate reports in Informatica?
What do think which one is the better joiner or look up?
Explain load alternative records / rows into multiple targets - informatica
Can one use mapping parameter or variables created in one mapping into any other reusable transformation?
What are the data movement modes in informatica?
What is the difference between a connected look up and unconnected lookup?
Different sorts of metadata that stores in the storage facility?
What are the new features of informatica 9.x developer?
r u done any partitions in ur project?
What is sequence generator transformation in informatica?
What is the Rank index port in Rank transformation?
I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?
One of the optimizing technique to improve the session performance is push down optimization,by using push down optimization we push as much as transformation logic to source/target database,but this degrades the d/b performance,how to overcome this?
can you please explain me pre session and post session options?