Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Outer join

Former Member
0 Kudos

Hi ,

Can anyone explain me the exact purpose of Outer join .

What is the difference between INNER JOIN and OUTER JOIN.

Regards,

Phyrsoe.

4 REPLIES 4

h_senden2
Active Contributor
0 Kudos

INNER JOIN : gets a result when the record in table A links to a record in table B

When A or B has no entry for the linking pin, you will get a result.

OUTER JOIN : will get also a result for the second situation, so when A or B has no entry for the linking pin

regards,

Hans

former_member194613
Active Contributor
0 Kudos

Check ABAP help, they have pictures which explain it

paruchuri_nagesh
Active Contributor
0 Kudos

hi

<b>Resulting set for inner join</b>

The inner join joins the columns of every selected line on the left- hand side with the columns of all lines on the right-hand side that jointly fulfil the join_cond condition. A line in the resulting set is created for every such line on the right-hand side. The content of the column on the left-hand side may be duplicated in this case. If none of the lines on the right-hand side fulfils the join_cond condition, no line is created in the resulting set.

<b>Resulting set for outer join</b>

The outer join basically creates the same resulting set as the inner join, with the difference that at least one line is created in the resulting set for every selected line on the left-hand side, even if no line on the right-hand side fulfils the join_cond condition. The columns on the right-hand side that do not fulfil the join_cond condition are filled with null values.

reward if u find use ful

regards

Nagesh.Paruchuri

Former Member