<?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 select single help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438211#M545536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hallow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i use in my program a select single statment but i heard that it bed for performance &lt;/P&gt;&lt;P&gt;but every time i work with  one row like select person ,name ,id,pernr..and contnue with data of person&lt;/P&gt;&lt;P&gt;which metod i have to use for better performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jun 2007 16:55:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-23T16:55:23Z</dc:date>
    <item>
      <title>select single help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438211#M545536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hallow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i use in my program a select single statment but i heard that it bed for performance &lt;/P&gt;&lt;P&gt;but every time i work with  one row like select person ,name ,id,pernr..and contnue with data of person&lt;/P&gt;&lt;P&gt;which metod i have to use for better performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 16:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438211#M545536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: select single help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438212#M545537</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;Generally if you have the full primary key you should use SELECT SINGLE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise to get one row..you can use SELECT UP TO 1 ROWS..ENDSELECT with the WHERE CLAUSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 16:57:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438212#M545537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T16:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: select single help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438213#M545538</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;Its not true that select single is bad for performance. Select Single is used to fetch distinct record from db table which is possible only by giving all key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single without all key fields will not fetch the distinct 1 record but any one of the records which satisfy the conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no difference in the performance between the 2 statements. Just that you will get a EPC warning when you give select single without all key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 21:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438213#M545538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T21:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: select single help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438214#M545539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use select single - When ever you have primary key &lt;/P&gt;&lt;P&gt;use select upto 1 row - if you do not have proper primary key condition in where caluse for select single then go for select upto 1 row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also Better to write the code outside of the loop by using for all entries condition ,then use read table within table -&amp;gt; which gives better performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 23:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-help/m-p/2438214#M545539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T23:45:21Z</dc:date>
    </item>
  </channel>
</rss>

