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

I have 1 crore record in my table and I have to load 25 L in 1st target,25L in 2nd target and 25L in 3rd target? I am new to Informatica,can anybody suggest me the idea?

2 Answers  


What does role playing dimension mean?

0 Answers  


In which circumstances that informatica server creates Reject files?

2 Answers  


What are the issues that you have faced while moving your project from the Test Environment to the Production Environment? Please explain in depth thanks in advance

3 Answers  


Why can't we use few transformations in mapplet ? like xml and target defintions, seq etc ?

2 Answers   IBM,






Is it possible to use a client with different version than that of its Informatica server?

0 Answers  


My source contains 10 records with 5 columns.What happens if I select group by all columns in Aggregator T/R?

3 Answers  


what is the need of session partitioning... how it is useful in real time

3 Answers   Amazon,


what is mapping performence?

2 Answers   Cap Gemini,


how the data will be loaded while desiging the schema?which one first (for e.g.-dimesions and facts)

2 Answers   Sonata,


What is informatica worklet?

0 Answers  


Plz can any one say me how to get the informatica certification materials and dumps

0 Answers   TCS,


Categories