<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: select single and select upto in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236280#M481676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select Single will hit the database only and primary key field is must in the statement where as in the select upto no need of mentioning the primary key fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 09:06:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-07T09:06:57Z</dc:date>
    <item>
      <title>select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236268#M481664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the difference of select single and select upto statements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236268#M481664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T13:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236269#M481665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3267463"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2010959"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3240540"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236269#M481665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236270#M481666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anjali,&lt;/P&gt;&lt;P&gt;have a look in search forum u will get that&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236270#M481666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T13:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236271#M481667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://sap-img.com/abap/difference-between-select-single-and-select-upto-one-rows.htm"&amp;gt;http://sap-img.com/abap/difference-between-select-single-and-select-upto-one-rows.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:41:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236271#M481667</guid>
      <dc:creator>former_member187255</dc:creator>
      <dc:date>2007-05-03T13:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236272#M481668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE is an option we use only when we know the full key of the table, not when we know that there will be only one record. So if you are selecting from MARA and your WHERE condition has MATNR in it, then you should use SELECT SINGLE. But if your WHERE condition has BISMT(old material number) and even if you know that it will result in one record only, you should not use SELECT SINGLE. It is not that it will give you an error but if you do an extended check, there it will show it as a warning saying that you didn't use the full key and that there is a possibility that there could be more than one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT UP TO 1 ROWS is used when you are not passing the key field, but you know 1)there will be only one record or 2)all records will have the same value for the selected field. Let us say you are selecting from MARC and you are interested in the value of the field ABC indicator. You know, based on your business process, that this indicator will have the same value even though, it is extended to 10 plants. Then you can use SELECT ABCIN FROM MARC UP TO 1 ROWS WHERE MATNR = P_MATNR. ENDSELECT. Here, even though you are not supplying the second key field WERKS, since you know there will only be one value(even though there are multiple records fetched with this clause), you are using SELECT UP TO 1 ROWS. In the other example where you select from MARA using BISMT, there it might fetch you just one record and so you will still use SELECT UP TO 1 ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT UP TO 1 ROWS introduces a loop to fetch one record from your database, where as SELECT SINGLE doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236272#M481668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T13:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236273#M481669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk in this FAQ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-27" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-27&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 13:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236273#M481669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T13:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236274#M481670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select single - displays a single record matching your condition in the where statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select upto - you can make any number of records to be selected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 15:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236274#M481670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T15:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236275#M481671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     SELECT UP TO 1 ROWS introduces a loop to fetch one record from your database, where as SELECT SINGLE doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in SELECT SINGLE query it is not mandatory to mention primary key fields in where condition ,  where as in SELECT UPTO 1 ROW query it is mandatory to use primary key fields in where clause...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Hope u got my point...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kishor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 12:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236275#M481671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T12:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236276#M481672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;have a look in wiki :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"What is the difference between SELECT SINGLE and SELECT ... UP TO 1 ROWS?&lt;/P&gt;&lt;P&gt;SELECT SINGLE returns the first matching row for the given condition and it may not be unique, if there are more matching rows for the given condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ... UP TO 1 ROWS retrieves all the matching records and applies aggregation and ordering and returns the first record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inorder to check for the existence of a record then it is better to use SELECT SINGLE than using SELECT ... UP TO 1 ROWS since it uses low memory and has better performance."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236276#M481672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236277#M481673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this wiki.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:13:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236277#M481673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236278#M481674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In select single * the primary key is must in where clause&lt;/P&gt;&lt;P&gt;while this is not the case with upto 1 row&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:17:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236278#M481674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236279#M481675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT UP TO 1 ROWS is faster than SELECT SINGLE because you are not using all the primary key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single is a construct designed to read database records with primary key. In the absence of the primary key, it might end up doing a sequential search, whereas the select up to 1 rows may assume that there is no primary key supplied and will try to find most suitable index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way to find out is through sql trace or runtime analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s) you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the second or the third record has the value you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mainly: to read data from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mainly: to check if entries exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2007 06:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236279#M481675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-05T06:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236280#M481676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select Single will hit the database only and primary key field is must in the statement where as in the select upto no need of mentioning the primary key fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 09:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236280#M481676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T09:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236281#M481677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anjali&lt;/P&gt;&lt;P&gt;       Select single - just selects the first record in your table&lt;/P&gt;&lt;P&gt;       Select upto 'n' rows - it also selects the first row of your table and applies aggregation function on it to retreive the required first row of the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IT PLEASE....!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 13:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236281#M481677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T13:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236282#M481678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anjali,&lt;/P&gt;&lt;P&gt;SELECT SINGLE will always select one record from database....but in the where clause there should be always KEY fields..then only the SELECT SINGLE is usefull...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where as SELECT UPTO 1 row will also return a single record fron database...no need of KEY field required in where clause...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help u out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2007 07:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236282#M481678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-13T07:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236283#M481679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select single selects the particular record based on the condition u have given.&lt;/P&gt;&lt;P&gt;Whereas Select upto is to select the number of records u want to get from the table.&lt;/P&gt;&lt;P&gt;Select upto 4 rows means it will select 4 rows from the table based on the condition u have given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 02:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236283#M481679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T02:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236284#M481680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anjali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u use select single then the table must have a primary key and also it matches with every record..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But select upto n rows is not like that..it fetches fastly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zeemaaa....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 03:05:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236284#M481680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T03:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236285#M481681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; what is the difference of select single and select&lt;/P&gt;&lt;P&gt;&amp;gt; upto statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between select single and select upto 1 row is usage of buffer area.&lt;/P&gt;&lt;P&gt;select single will search all the match records and bring it to buffer, form there we get it. Processing time is large here. If we use select upto 1 row, it will fetch the particular single record and move it to the buffer .Processing time is less compared to select single statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 04:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236285#M481681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T04:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236286#M481682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) both will fetch the single record only&lt;/P&gt;&lt;P&gt;2) but for select single no need of end select&lt;/P&gt;&lt;P&gt;3) primary key should need for select single not required for upto 1 row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;madhukar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 10:27:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236286#M481682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T10:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: select single and select upto</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236287#M481683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single: reflects the first row in the database that it finds that fulfills the &amp;#145;where&amp;#146;&lt;/P&gt;&lt;P&gt;Clause if this results in multiple records then only first one will be returned and therefore may not be unique.&lt;/P&gt;&lt;P&gt;Select up to n row: (N stands for a inter number)&lt;/P&gt;&lt;P&gt;Select all the rows from the database table but write only the specified number of rows specified by N into the internal table.&lt;/P&gt;&lt;P&gt;It gives up to 1 row only 1 row is written into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Satya kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 11:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-and-select-upto/m-p/2236287#M481683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T11:00:04Z</dc:date>
    </item>
  </channel>
</rss>

