Application Development and Automation 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: 
Read only

Which Select is more efficient

Former Member
0 Likes
365

Hi all

Which select is more efficient

1) select * from MARA into it_mara where matnr between '00112' and '00114'.

or

2) select * from MARA into it_mara where matnr in ( '00112' , '0011' , '00113'. , '00114' ).

Sandeep

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
339

Doesn't matter, they might produce two different results, depending on what actually is stored in MARA.

Oh wait, I'm not supposed to reply anyway, this is Subin's job, right?

Thomas

1 REPLY 1
Read only

ThomasZloch
Active Contributor
0 Likes
340

Doesn't matter, they might produce two different results, depending on what actually is stored in MARA.

Oh wait, I'm not supposed to reply anyway, this is Subin's job, right?

Thomas