Which one allows duplicate values Union or Union All ?

Answers were Sorted based on User's Feedback



Which one allows duplicate values Union or Union All ?..

Answer / mahesh

union all allows duplicates
union doesnt allows duplicates

Is This Answer Correct ?    5 Yes 0 No

Which one allows duplicate values Union or Union All ?..

Answer / naveen87ginjupalli

Union All allows duplicate values.

Is This Answer Correct ?    4 Yes 0 No

Which one allows duplicate values Union or Union All ?..

Answer / surendra reddy

union does not allow duplicates

union all allowed duplicate values

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB2 Interview Questions

Can we insert update delete in view?

0 Answers  


Is it mandatory to use DCLGEN? If not, why would you use it at all?

2 Answers  


What is difference between *omit and *nopass?

1 Answers   IBM, TCS,


Is the primary key a clustered index?

0 Answers  


Explain what are the various isolation levels possible?

0 Answers  


What are packages in db2?

0 Answers  


5 rows are inserted to a DB2 Table. Next 3 of those are updated, then a rollback is issued. What would happen when the rollback is issued?

2 Answers  


What are the uses of db2 optimizer?

0 Answers  


What is a host variable?

3 Answers  


how can you copy records present in a flat physical file to a database file(physical file).please explain in rpg400 with a simple example

1 Answers   CTS,


can i code union in cobol-db2 pgm ?

4 Answers   Patni,


I have 3 cursors declared. Cursor1 retieves some data. Based on this curso2 will also fetches some data. In cursor3 (using for some updation) I'm using the data retrieved by the above 2 cursor. My question is, while working with cursor3, periodically if I give commit, will all the three crsors will be closed or only cursor3 will be closed?

4 Answers  


Categories