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

What does db2 blu stand for?

0 Answers  


how do you resolve -805?

3 Answers   HCL,


What is a db2 collection?

0 Answers  


How can you classify the locks in db2?

0 Answers  


Can DASD types assigned to storage groups be intermixed (i.e., 3350s and 3380s)?

1 Answers  


What is an inner join, and an outer join ?

1 Answers   CTA,


how will you retrieve first record in table

1 Answers   UST,


Explain the contention situations caused by locks?

0 Answers  


How to resolve -504 sql code in DB2?

2 Answers   Cap Gemini,


What is buffer pool and list some of them?

0 Answers  


How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only)

2 Answers  


what is the difference between declaring the cursor in WS section and Procedure division?

1 Answers   HCL,


Categories