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
Explain the different lookup methods used in informatica?
Informatica Server and Client are in different machines. You run a session from the server manager by specifying the source and target databases. It displays an error. You are confident that everything is correct. Then why it is displaying the error?
What is workflow? What are the components of the workflow manager?
How many numbers of sessions can one group in batches?
define galaxy repository in informatica
While importing the relational source definition from the database, what are the metadata of source that will be imported?
What is Session and Batches?
What is meant by target load plan?
State the differences between sql override and lookup override?
How can we remove the duplicates from flat file source?
What is the procedure for creating independent data marts from informatica 7.1?
Enlist some properties of sessions.
how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?
As union transformation gives UNION ALL output, how you will get the UNION output?
Where are the source flat files kept before running the session?