How do we eliminate duplicate records in a flat file without using Sorter and Aggregator?

Answer Posted / harish konda

Give the SQL query to sort the data in source in source
qualifier t/f.

And then connect to exp t/f and add one more port (say flag)
to generete numbers like, when prev row and current row
values are same, then increment number, or else give 1.

And next connect to Filter t/f and give the condition in
filter as flag=1.

Then rout the data to target.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the scenario which compels informatica server to reject files?

904


what is the size of your data warehousing?

1848


Why union transformation is an active transformation?

850


Design time, run time. If you don't create parameter what will happen

1617


Define update strategy?

818


Explain lookup transformation in informatica

823


Enlist some properties of sessions.

815


What is different between the data warehouse and data mart?

805


What are the new features of informatica 9.x at the developer level?

805


Can you use flat files in Mapplets.

2405


How to extract the informatica rejected data?

960


how we can load rejected record's at run time?(not through bad files)

2124


How to update source definition?

841


What is substr in informatica?

881


State the differences between sql override and lookup override?

843