For unmatched rows returned from an outer join, the column
values in the other table are set to null e.g If A OUTER
JOIN B returns some unmatched rows from A, the
corresponding column values in B will be set to null. What
can be done so that a null value is not displayed for these
columns?

Answers were Sorted based on User's Feedback



For unmatched rows returned from an outer join, the column values in the other table are set to nu..

Answer / scott

Use the COALESCE function

Is This Answer Correct ?    7 Yes 0 No

For unmatched rows returned from an outer join, the column values in the other table are set to nu..

Answer / keshireddy

yep. With COALESCE we can

Is This Answer Correct ?    1 Yes 0 No

For unmatched rows returned from an outer join, the column values in the other table are set to nu..

Answer / sankar

You can also use VALUE

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More DB2 Interview Questions

Mention the length of physical storage of the given data types of db2 – date, timestamp, time

0 Answers  


Which is faster delete or truncate?

0 Answers  


What are packages in db2?

0 Answers  


when we are trying to update db2 rows. if the program abends . how we will know that the last successful update row was

5 Answers   IBM,


What is dbrm? When it will be created?

0 Answers  






if suppose i am having an ACCOUNT table with 3 coloumns ACC. NO,ACC. NAME,ACC. AMOUNT . If a unique index is also defined on ACC.NO and ACC.NAME then write a query to retrieve account holders records who have more than 1 ACC.

8 Answers   Wipro,


What are the three DB2 date and time data types and their associated functions?

1 Answers  


what is the input to PLAN? what is the input to DBRM?

4 Answers  


My cobol program(not having any sql statements) is calling another cobol program ( having sql statements), what is needed for compilation and run in jcls .

3 Answers   Cap Gemini, RBS,


Explain about dbrm.

0 Answers  


What is a correlated sub query?

2 Answers  


how to fetch first 100 rows in db2

2 Answers   IBM,


Categories