Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: Inner Join on subset of a Table

$
0
0

Hi Chris,

 

I dont't know why most of people love INNER JOIN and complex SELECT, just make two select, I have found that a lot of times in my 10 years as an ABAP using FOR ALL ENTRIES works a lot faster that INNER JOINs and the other thing when you have 4 tables in a INNER JOIN good luck finding why you get sy-subrc = 4.

 

My advice just make two select

 

1- SELECT table2

2- DELETE unwanted entries

3- SELECT table1 (FOR ALL ENTRIES IN table2)

4- LOOP AT table2 and inside READ TABLE table1 to get data from table1.

 

Regards


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>