How to delete first 3 rows & last 3 rows in target table in
informatica

Answer Posted / santosh kumar sarangi

create a sequence t/r and link the next value with sq t/r to
expression t/r and. Create two link.
First Link:
Connect ex t/r to update strategy t/r and keep condition as
IIF(NEXTVAL<4,DD_DELETE,DD_REJECT) and connect to target
except the nextval column.
Second Link:
Connect to sorter t/r and sort with descending order of
nextval and rename as in_nextval. create new sequence
generator and link to the same ex t/r. Link the ports to
again one more update strategy t/r and keep the same condition
as IIF(NEXTVAL<4,DD_DELETE,DD_REJECT) and link to the one
more instance of target table.

Let me know if any things wrong.

Thanks & regards,
Santosh Kumar Sarangi

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.

1210


Explain lookup transformation in informatica

648


lookup transformation with screenshots

3559


How do you use reject loader.

2071


What does cheating measurement mean?

600






What are active and passive transformations?

654


How can repository reports be accessed without sql or other transformations?

730


What is sequence generator transformation in informatica?

625


How to join three sources using joiner? Explain though mapping flow.

701


in u flatfile some of fact records are missed then u load the diminision records are not if u load diminsion records what about fact table records

1741


What is event and what are the tasks related to it?

616


What is repository manager?

538


Separate from an archive server and a powerhouse?

497


What is confirmed fact in dataware housing?

5693


Differentiate between source qualifier and filter transformation?

1001