<?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 count * is not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391330#M814310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to get max value of a table u can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select max( fld )............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bypassing the SAP buffer with the above additions is a means to increase the performance when accessing buffered database tables. To explicitly bypass the SAP buffer in the SELECT statement, always use the addition BYPASSING BUFFER instead of the implicit behavior of the additions stated above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 08:33:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-15T08:33:14Z</dc:date>
    <item>
      <title>Select count * is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391329#M814309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody.&lt;/P&gt;&lt;P&gt;I've got a very strange problem, when i'm doing a select count* the result is giving me a value that is not the maximum (but when i check the database table the maximum value is another..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be that the select command is not executing against the table, rather than the SAP cache??&lt;/P&gt;&lt;P&gt;If this is the case, how can i avoid this?? I mean force the select command to execute against de DB table.&lt;/P&gt;&lt;P&gt;thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 08:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391329#M814309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T08:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select count * is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391330#M814310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to get max value of a table u can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select max( fld )............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bypassing the SAP buffer with the above additions is a means to increase the performance when accessing buffered database tables. To explicitly bypass the SAP buffer in the SELECT statement, always use the addition BYPASSING BUFFER instead of the implicit behavior of the additions stated above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 08:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391330#M814310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T08:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select count * is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391331#M814311</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; Can you paste your code here so that we can guess the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 08:42:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391331#M814311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T08:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select count * is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391332#M814312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select max(  pernr )&lt;/P&gt;&lt;P&gt;           into  l_numero&lt;/P&gt;&lt;P&gt;           from  z22hr_t_001_ci &lt;/P&gt;&lt;P&gt;           where pernr  gt  l_desde and&lt;/P&gt;&lt;P&gt;                 pernr  lt  l_hasta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try bypassing buffer. I hope it'll work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 08:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-count-is-not-working/m-p/3391332#M814312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T08:48:18Z</dc:date>
    </item>
  </channel>
</rss>

