sorce is a flatfile only 1st and last row should insert to
target how will u do?

Answers were Sorted based on User's Feedback



sorce is a flatfile only 1st and last row should insert to target how will u do?..

Answer / balu

sourcce --> source qualifier--> sequence generator--
>expression trns-->target

generate sequence for the source data after that in
expression transformation use min and max function on
sequece then connect to target.

Is This Answer Correct ?    6 Yes 5 No

sorce is a flatfile only 1st and last row should insert to target how will u do?..

Answer / mike

well If your source is a flatfile and you are loading it in
to relational database or a flat file again, then you can
use union transformation to insert the first and last row

correct me if i was wrong

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Informatica Interview Questions

Using Expression transformation how to remove duplicate records from a relational source?

4 Answers  


How to load last 10 records of flat file in to the target?

5 Answers   iNautix,


Do you find any difficulty while working with flat files as source and target?

0 Answers  


What are parallel querys and query hints?

1 Answers  


what r the propertes of workflow? and write quary to select dept more ten employess in dept.?

2 Answers  






How to do unit testing in informatica?

0 Answers  


i hav a scenario like this i want load data from source to target as follows frist it counts the num of deptno and display with that with count and how many times it reapts along with all the records in source

1 Answers  


One source and 3 targets 1st row-1st target 2nd row-2nd target 3rd row-3rd target 4th row-1ist target how will u do?

5 Answers   HCL,


To Provide Support For Mainframes Source Data, which Files Are Used As A Source Definitions?

0 Answers   Informatica,


What are the prerequisite tasks to achieve the session partition?

0 Answers  


I am using mapping variable, when i am running a session,before it has 10000 records, after completion of session what about value of mapping variable?

1 Answers  


how can we load first and last record from a flat file source to target?

7 Answers   Infosys, ITC Infotech,


Categories