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


I am having two tables,say table1 having cols
Empid,firstname,lastname,middlename and table2 having
Empid,firstname,lastname can i union them using Union t/f?

Answers were Sorted based on User's Feedback



I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 havin..

Answer / sreenu

It is not possible to put both in Union directly,
The group coming to Union must have same number of columns
and its data type must be compatible.
In this case first table has 4 columns and the second table
has 3 only.

alternatively you can follow the below logic to pass to
union transformation

Because the 2nd table has only 3 columns, create dummy
column for the 2nd flow and pass null in that port, so that
you can connect them to Union

Is This Answer Correct ?    30 Yes 4 No

I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 havin..

Answer / ganithi anil

for union t/f tables structures should be same, i mean
columns and data types should besame then only you use
union t/f

Is This Answer Correct ?    4 Yes 0 No

I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 havin..

Answer / pavana

Yes , we can created 2 input groups with 4 columns . For 1st
input group pass all columns from table 1 ,for 2nd input
group pass all 3 columns from table 2, 4th column from in
2nd group remain unconnected.
Session executes successfully. output will be the union of 2
tables. The 4th column from 2nd table will be populated as
null in output.

Is This Answer Correct ?    4 Yes 0 No

I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 havin..

Answer / ravikumar2614

Yes we can.
create one more colomn in table-2 with same data type and assaign null values to that colom, then we can union two tables.
please correct if am wrong.

Is This Answer Correct ?    0 Yes 0 No

I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 havin..

Answer / sudheer

No need to create any dummy column(table-2) and make it as null...
Just create 2 groups as u have 2 tables and create 4 group ports like below Empid,firstname,lastname,middlename.
-Drag respective columns from src to union.
-Don't make any link for middle name from table as we don't have any column but drag all columns from table 2 and save the mapping and run the session.....This will work as i have tested.Thanks......

Is This Answer Correct ?    0 Yes 0 No

I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 havin..

Answer / maheedhar

I said yes,correct me if am wrong

Is This Answer Correct ?    9 Yes 10 No

Post New Answer

More Informatica Interview Questions

sample mappings for scd1,scd2 and scd3

2 Answers   Cognizant,


following table source name gender a1 male a2 female how to change 'male' to 'female' and 'female' to 'male'

2 Answers  


If you want to create indexes after the load process which transformation you choose?

3 Answers   HCL,


How do we implement materialized view?when to use materialized view?

1 Answers   TCS,


How can we update a record in the target table without using update strategy?

0 Answers  


explain the scenario for bulk loading and the normal loading option in Informatica Work flow manager ???

8 Answers   CTS, TCS,


Enlist the advantages of informatica.

0 Answers  


in my source table i want to delete first and last records and load in between records into target? how can it possible?

3 Answers   HCL, Thomson Reuters,


what are the perameter and variable?

3 Answers   IBM,


While importing the relational source definition from the database, what are the metadata of source that will be imported?

0 Answers   Informatica,


WHAT IS THE DIFFERENCE BETWEEN .NET AND INFORMATICA?

1 Answers  


what is mean by flag 4 in update strategy t/r

6 Answers  


Categories