if i have records like these
(source table)
rowid name
10001 gdgfj
10002 dkdfh
10003 fjfgdhgjk
10001 gfhgdgh
10002 hjkdghkfh

the target table should be like these by using expression
tranformation.
(Target table)
rowid name
10001 gdgfj
10002 dkdfh
10003 fjfgdhgjk
xx001 gfhgdgh
xx002 hjkdghkfh
(that means duplicated records should contain XX in there
rowid)

Answer Posted / jyothiram

PUT SORTER WITH KEY OF ROWID IN FIRST EXPRESSION FLAG THE
RECORDS WHICH IS HAVING MORE THAN ONCE ,TAKE PRV PORT AS
VARIABLE MATCH IT WITH CURRENT AND SET FLAG OUT ACCORDINGLY,
IN NEXT EXPRESSION CHCEK FOR FLAG, IF IT SETS
DO 'XX'||SUBSTR(ROWID,3) OTHER WISE ROWID ONLY . HOPE THIS
WILL SOVE .

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to partition the Session?

648


How to create Target definition for flat files?

754


What do you mean by blocking transformation?

583


Different qualification between a related rotate toward the sky and isolates look upward?

554


What does “tail –f” command do and what is its use as an Informatica admin.

631






Explain incremental aggregation in informatica

654


Reusable transformation and shortcut differences

1379


How to update source definition?

628


WHAT IS EDM?WHAT IS THE USE IN INFORMATICA? chandumba2005@gmai.com

1517


How can you generate reports in informatica?

581


1)you have multiple source system where u receive files ,how do you actually load into mapping using transformation,what are the transformation you use? 2)you have files in ftp location ,how do you get it into mapping with you ETL concept?

1687


Explain constraint based loading in informatica

659


How identifying bottlenecks in various components of informatica and resolving them?

584


Which are the different editions of informatica powercenter that are available?

557


How to load the data from a flat file into the target where the source flat file name changes daily?

575