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...


My source is flat file which contain only one column with data type varchar.now i want to send string data types into one target and if any numbers and special characters are there that should be send it into another target.so how do you design a mapping for this?

Answers were Sorted based on User's Feedback



My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / vijaya

By using function isnumber(), is string() in expression editot you get the solution

Is This Answer Correct ?    6 Yes 4 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / santosh kumar sarangi

1.in expression t/r create one more port as below.
FLAG(integer)=IIF(LOWER(COL1)=UPPER(COL1) ,1,0)
2.Link the original port and FLAG port to router and create
a group as FLAG=1
3.Link the original port from the group to target of number
or special charater and default to target of character.

Let me know if any things wrong
Thanks and Regards
Santosh

Is This Answer Correct ?    2 Yes 0 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / kamlesh mishra

Use is_number(field) and not is_number(field) functions in router transformations

Is This Answer Correct ?    0 Yes 0 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / satish

Using REG_MATCH function we can check string....
Expersion trx create variable port FLAG = IIF(REG_MATCH(COL_NAME , [a-zA-Z]+,TRUE,FALSE)
router trx create port nd give condition FLAG=TRUE-------------connect to string target
Default group -----------------------------conn to( number,special char) trg
SQ-EXP-RTR-TRG

Is This Answer Correct ?    0 Yes 0 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / davan

In expresion t/r just give data type as string only...

Is This Answer Correct ?    0 Yes 4 No

My source is flat file which contain only one column with data type varchar.now i want to send strin..

Answer / swarna.latha165

please tell me the solution

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Informatica Interview Questions

Data is passed from one active trans and one passive trans into a passive transformation.Is the mapping valid or invalid?

18 Answers   L&T,


S1 is having 1 lakh records and s2 is having 100 records, s2 should compare s1 if emp no is same data should be updated if not their it should insert the data.what are the transformation used?

5 Answers   TCS,


What is a sequence generator transformation?

0 Answers  


Define joiner transformation?

0 Answers  


All active transformations r passive or not?

7 Answers  


To import the flat file definition into the designer where should the flat file be placed?

0 Answers   Informatica,


How to get rid of non ascii characters in a string? Ex:- United States Microsoft Visual Studio Tools for Applications 2012 x86 主控支援 - 繁體中文語言套件 to United States Microsoft Visual Studio Tools for Applications 2012 x86.

1 Answers   CTS,


i have two coloumn emp_no sal 1 3000 2 3000 3 3000 4 4000 5 5000 6 2700 7 4500 i just need output by removing duplicate.my answer should be emp_no sal 1 3000 2 4000 3 5000 and so on.please tel me the transformation to use and if variable is used in expression then how can i give variable expression

3 Answers  


How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix. ?

0 Answers   CTS,


What all are steps in up gradation of Informatica server?

0 Answers  


Does Facttable Normalized or Denormalized?

2 Answers   IBM,


following scenario empsal table i want who exist one lakshs sal above monthwise? ` empsal empid monthyear sal 1 jan2008 1000 2 march2009 50000 3 april2009 4000 4 feb2009 100000 5 jul2009 600000 6 dec 2008 90000

5 Answers   Wipro,


Categories