Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

supose if ur scr table contains alphanumeric values like
1,2,3,a,v,c in one columen like c1 n now u have load d data
in 2 seperare columns like ID should contain only numbers
1,2,3 n NAME col should contain a,b,cin target?How

Answer Posted / sai krishna karri

Here you should not use a router as it sends the data to
two different target or two instances of the same target.

As the question here is to write the input row to to
different columns based on the value, you can just use an
expression, pass the column and create two output ports.
Output port 1 to detect if it is a numeric. And the second
output port to detect the alphabet.

output port 1 - op1
iif(is_numeric(to_int(c1)),c1)

output port 2 - op2
iif(is_alphabet(c1),c1)

Pass these two outputs to a filter and set ths condition

Not isnull(op1) or Not isnull(op2)

Link the columns to the target now. Done!

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we override a native sql query within informatica? Where do we do it?

1068


What are the performance considerations when working with aggregator transformation?

1094


What are the types of schemas we have in data warehouse and what are the difference between them?

887


What is meant by target load plan?

914


What are the basic requirements to join two sources in a source qualifier transformation using default join?

1031


Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?

1729


How to create or import flat file definition in to the warehouse designer?

1021


 Informatica Checkpoints

3269


Target increases every day even though no new record was inserted

1514


Describe expression transformation?

1044


What is Data Caches size?

1032


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

900


Differentiate between joiner and lookup transformation?

1048


What is workflow manager?

988


Which version configuration tool used in ur project?

3181