i have a table with name field.
i,e name
Shankar
prabhakar
nitikripa so no
if a occures 3 times in name then it will go to tgt A
if b occures 3 times in name then it will go to tgt b
..
if z occures 3 times in name then it will go to tgt z

Answer Posted / isha

I will write the logic for a and you can use the same logic for all 26 alphabets.

check_a=REPLACECHR(1,Name,'a', NULL) -- 1 means not case sensitive
count_a=LENGTH(NAME)-LENGTH(check_a)


in router group a count_a =3

Pass this to Target

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the size of u r source(like file or table)?

1818


Reusable transformation and shortcut differences

1379


What is the need of etl tools?

609


What is informatica?

680


How to call shell scripts from informatica?

577






Explain in detail scd type 2 through mapping.

611


What are the differences between a connected lookup and unconnected lookup?

648


what is the size ur source like(file system or database)? how many record daily come u r banking project?

1744


Give one example for each of conditional aggregation, non-aggregate expression, and nested aggregation?

723


What is data transformation manager process?

619


What are batches?

619


what are the best practices to extract data from flat file source which are bigger than 100 mb memory?

1916


Is it possible to create multiple domains on a single Informatica server?

754


Enterprise data warehouse your projects phase by phase explain?

1464


Mention few advantages of router transformation over filter transformation.

633