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

What is the difference between free and refresh?

595


Explain pai and pbo.

716


How many types of data classes are there in sap?

582


What is the collect statement? How is it different from append?

525


What is transparent table?

602






What is the role of ‘refresh’ in internal table?

592


How is collect statement different from append?

590


Write an abap program for creation of customer enquiry using BAPI 'BAPI_INQUIRY_CREATEFROMDATA'.

1774


What is a persistent class?

974


What is logo in sap script?

571


Can we create field without data element? If yes, how?

696


What is the differences between abap and ooabap. In which situation we useooabap?

715


how do you call third selection screen ?

1644


What are the different types of abap reports in sap?

768


What do you mean by cluster tables in sap abap? Also explain what do you mean by table cluster? : abap data dictionary

520