Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

What is difference between Select Single and Select UPTO 1 rows?

$
0
0

I had search on many sites but got difference answers as Select Single is faster than upto 4 rows or

upto one rows is fatser than select single...

 

one of the answer i have got is like

If you Google, you will see lots of results that will say SELECT SINGLE is faster and efficient than SELECT UPTO 1 ROWS.
But that is 100% incorrect.

SELECT UPTO 1 ROWS is faster than SELECT SINGLE.
If for a WHERE condition, only one record is present in DB, then both are more or less same.
However, If for a WHERE condition multiple records are present in DB, SELECT UPTO 1 ROWS will perform better than SELECT SINGLE.

 

and on this link opposite is Given to this

 

http://wiki.sdn.sap.com/wiki/display/HOME/Difference+between+select+single+and+select+upto.

(mention line: he System test result showed that the variant Single * takes less time than Up to 1 rows)

 

Can any one please tell with simple and presise language...

 

Thanks...


 



Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>