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


How will you display "Mr" for male & "Mrs" for female in
target table?

Answers were Sorted based on User's Feedback



How will you display "Mr" for male & "Mrs" for female in target table?..

Answer / giri

Use Expression Transformation

Add new Field
Condition
IIf(fieldname='male','Mr','Mis')
This field Check Variable then
add newfield Concat(newfield,first name)

Is This Answer Correct ?    9 Yes 0 No

How will you display "Mr" for male & "Mrs" for female in target table?..

Answer / deepthi

Here the question is to just display value 'MR'for
males 'MR'for males , not to modify the data in the table
as 'MR'for males 'MR'for males

we can do it by many ways, one among those ........

select decode(column_name, 'male','MR','female','MRS')

this query displays MR for all males and MRS for all females

Is This Answer Correct ?    10 Yes 2 No

How will you display "Mr" for male & "Mrs" for female in target table?..

Answer / rkumar.etl

based on flag for male and female we can use decode logic at
expression level before loading records to the target tables.

Is This Answer Correct ?    6 Yes 0 No

How will you display "Mr" for male & "Mrs" for female in target table?..

Answer / dragon

I agree with Rkumar.etl,

but if in the database is too old and they dont have column
flag then how you u define.

Is This Answer Correct ?    0 Yes 0 No

How will you display "Mr" for male & "Mrs" for female in target table?..

Answer / addy

This can be done by the Expression Transformation easily.

Is This Answer Correct ?    0 Yes 0 No

How will you display "Mr" for male & "Mrs" for female in target table?..

Answer / narinder

Assuming that the source data has some kind of identifier
to track male or female record then use the decode function
based on idetifier to store 'Mr' or 'Mrs' in a port in an
expression transformation and pass this port value to
target.

Is This Answer Correct ?    0 Yes 0 No

How will you display "Mr" for male & "Mrs" for female in target table?..

Answer / madhusudhana reddy

decode(gender,male,'Mr',Female,'Mrs,optional)

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Informatica Interview Questions

hi talents, how do u get sequece numbers with oracle sequence generator function in informatica.... i dont need to use sequence generator transformation..... how do u achieve this???

3 Answers   HP,


i have oracle table A and target B. i don't know how many records. i want get get last record in table A as first record in target table B. write a sql query?

7 Answers   IBM, TCS,


What is rank transformation?

0 Answers  


Which transformation should we use to normalize the COBOL and relational sources?

4 Answers   DELL, IBM, Lehman Brothers,


in static and dynamic which one is better

2 Answers  


In a table, 4 person having same salary. How to get Third person record only?

15 Answers  


list out all the transformations which use cache?

0 Answers   Informatica,


I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?

0 Answers  


Explain lookup transformation in informatica

0 Answers   Informatica,


How will you display "Mr" for male & "Mrs" for female in target table?

7 Answers  


My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The data will be send to target if the fallowing two conditions satisfied 1.The first row Date column is equal to SYSDATE 2.Last record second port equal to number of records. How to achieve?

0 Answers  


how we can do session partition in informatica any one explain me clearly? thanks advance.

1 Answers   iGate,


Categories