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

How can we integrate different flat file data in a single mapping and with in a single execution

1 Answers  


create a mapping to retrieve the employees who are getting salary greater than average salary?

4 Answers   TCS,


please let me know which type of question arise in interview on project manager round on insurance project with answer pls reply asap.

1 Answers   Accenture,


what is the size of your data warehousing?

0 Answers   IBM,


what are the transformations that are used in data cleansing ? and how data cleansing takes place ?

3 Answers  


for ex: in source 10 records are there with column sal. use a filter transformation condition as Sal=TRUE and connect to target. what will happen.

11 Answers   Accenture,


without using rank transformation how can we rank items by using some other transformations

2 Answers  


What are the tasks that source qualifier performs?

1 Answers  


How to Create a folder using pmrep command?

0 Answers  


scenario where i can use only concurrent execution of workflow.

0 Answers   Cognizant,


How big was your fact table

0 Answers  


hi real timers . iam waiting for ur reply regarding ETL TESTING

0 Answers  


Categories