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

Which objects are independent transport objects? : abap data dictionary

771


how do you call third selection screen ?

1830


hi i need detailed information on badi and bapi how can this work in real time senarios plz explain with exp

3400


How do you write transaction programs in sap?

769


What is abap?

798


What are screen painter? Menu painter? Gui status?

776


Can a constructor be redefined?

1110


What are the personnel administration related Infotypes

2275


Can we set page headers to details lists?

756


Did you create any joins?

730


How to find Kernal badi ?

1351


Explain enhancements

1077


How to select valid lines for secondary list?

785


What is the disadvantage of a call by reference? : abap modularization

818


What is the transaction code to display the payroll results ? : abap hr

772