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

How do you promote a non-reusable transformation to reusable transformation?

655


How to load a Dimension ? and how to load a fact table?

944


What is the meaning of decode in informatica?

641


How to update a particular record in target with out running whole workflow?

1149


Briefly define reusable transformation?

616






What is decode in static cache?

584


Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

771


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

715


Scheduling properties,whats the default (sequential)

1452


What's the layout of parameter file (what does a parameter file contain?)?

1909


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.

1193


Under which circumstances, informatica server creates reject files?

586


What is rank index in rank transformation?

599


Explain the types of lookup transformation?

560


Hi all, Can you please send me the Dimensions and fact tables which are used in mutual fund project. and please send me the brief summary about the project. Please do the needful.

1841