what is the difference between select single *
and slect upto 1 rows...

Answer Posted / anita

select up to one rows is much quicker that select single
as your not really using the all the key fields. Select
single is a construct that is designed primarily to read
database records with a primary key. If there is no primary
key available then at the most it might end up doing a
perfunctory sequential search. However in the case of
select up to one rows it will assume that there is no
primary key and will automatically search for the most
appropriate index.

In select * single only a single record is fetched that is
whichever one will come first in the data base query. But
in the case of select upto one rows all the records will be
fetched and stored in a buffer which pertain to the where
condition in the Data base theory.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Classic badi and Kernal badi ?

1783


What is a subscreen? How can we use a subscreen?

562


Explain pai and pbo.

711


Define abap/4 layer? : abap data dictionary

597


What are base tables of an aggregate object?

612






Explain the data types of internal tables?

622


Give Some examples of reports generated in real time scenarion? Also give examples of standard reports in SAP used in real time?

2315


What are your ways to performance optimization?

909


What is the difference between ABAP and HR ABAP

2972


What are differences between at selection-screen and at selection-screen output?

767


What are the types of subroutines? : abap modularization

589


What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?

598


What is page window?

572


What is buffering in abap?

631


What was the requirement of IDoc in your project? How it was working?

1546