will where conditions in a sql query help improve performance?

Answer Posted / bala

If a table has an index for a key in the order
f1,f2,f3 then from the point of view of performance
the where clause should specify the fields in the
same order
select ..
from ...
where f1 = v_f1 and f2 = v_f2 and f3 = v_f3.

Note that the MANDT is implicitly compared first in the
order, and if using CLIENT SPECIFIED queries, ensure that
MANDT precedes the list.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I get ascii value of any letter? Is there any function?

870


What is projection view?

707


visibility section for class level and attributes level

1034


What is the tcode to create indexes?

776


What are the disadvantages of using explicit enhancement?

1664






What is buffering allowed but switched off?

1044


What are the uses of secondary indexes?

774


Lock objects and what are parameters of ENQUEUE FM?

1452


What two statements are required in an abap program to output an icon using a write statement?

707


What are the commands used for interactive reports?

754


What is the function of a domain?

871


What are the parameters in bdc_open_group? : abap bdc

813


What are the types of indexes in abap?

799


What is the difference between ABAP and HR ABAP

3250


How can we set the tablespaces and extent sizes ?

735