Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 a logical database?

1134


what is sales order confirmation and how can do design it in webdynpro. what is Tcode for the same?

2366


Differentiate between abap memory and sap memory?

1072


How to find the return code of an stmt in abap programs?

1089


What is luw?

1175


What is modularization and its benefits? : abap modularization

1132


What is For-period and In-period

2154


Where the payroll results are stored

2172


How can we declare a table control in the abap/4 program?

1105


What is the reserve command?

1180


What is the meaning of client independent?

982


Why do we use logical blocks in abap program?

2024


Can a constructor be redefined?

1314


What are match codes? describe?

1108


What are the steps to be followed to set lockobjects? : sap abap data dictionary

1035