<?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 vs Select count in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159591#M1195185</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 Single  will take only one matching record from the database and stores inot buffer.  &lt;/P&gt;&lt;P&gt;Select upto 1 rows will take all the records which are matching  to that condition into the buffer.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;so performance wise select upto 1 row is better than select single.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2009 07:11:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-13T07:11:14Z</dc:date>
    <item>
      <title>Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159584#M1195178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Please suggest me the best practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have to validate a field from DB.&lt;/P&gt;&lt;P&gt;Which stmt is preffered. Is it Select Single or Select Count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Target - Just to check if the record is exists in DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest the best way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Ravindar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159584#M1195178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159585#M1195179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;STRONG&gt;Select Single&lt;/STRONG&gt; using all the table keys...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159585#M1195179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159586#M1195180</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;Use select up to 1 rows,bcoz &lt;/P&gt;&lt;P&gt;select single shoul be used if u are comparing all key fields in the query else u have to use select up to 1 rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159586#M1195180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159587#M1195181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select single from &amp;lt;table&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159587#M1195181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159588#M1195182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search the SCN before posting the basic question. You can find lot of treads for your query.&lt;/P&gt;&lt;P&gt;Reported!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159588#M1195182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159589#M1195183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Using select up to 1 row is better way than the select single,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because select single hits the database more than once , where select up to 1 row hits only once in your program, hence a performance improver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159589#M1195183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159590#M1195184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It depends on your specified where clause.&lt;/P&gt;&lt;P&gt;If you are specifying full key part in where condition , then it is better to use SELECT  SINGLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159590#M1195184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159591#M1195185</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 Single  will take only one matching record from the database and stores inot buffer.  &lt;/P&gt;&lt;P&gt;Select upto 1 rows will take all the records which are matching  to that condition into the buffer.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;so performance wise select upto 1 row is better than select single.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159591#M1195185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select single vs Select count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159592#M1195186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 07:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-vs-select-count/m-p/5159592#M1195186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T07:19:15Z</dc:date>
    </item>
  </channel>
</rss>

