<?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 Native SQL buffering in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056503#M90508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi We are doing some native sql in EXEC SQL ENDEXEC statments to get information from a non SAP source to import into SAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is it seems to be buffered in some way. After deleting a record from the oracle windows client and rerunning the ABAP program it picks up data that was just deleted. Is there anyway to select without using any buffers or cache that oracle might be using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also a native delete seems to not work. Do we need to do a exec sql. commit work. endexec. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nigel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2005 17:32:30 GMT</pubDate>
    <dc:creator>NigelJames180</dc:creator>
    <dc:date>2005-10-31T17:32:30Z</dc:date>
    <item>
      <title>Native SQL buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056503#M90508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi We are doing some native sql in EXEC SQL ENDEXEC statments to get information from a non SAP source to import into SAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is it seems to be buffered in some way. After deleting a record from the oracle windows client and rerunning the ABAP program it picks up data that was just deleted. Is there anyway to select without using any buffers or cache that oracle might be using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also a native delete seems to not work. Do we need to do a exec sql. commit work. endexec. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nigel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 17:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056503#M90508</guid>
      <dc:creator>NigelJames180</dc:creator>
      <dc:date>2005-10-31T17:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056504#M90509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using ABAP SELECT statement, then you have an option 'BYPASSING BUFFER'. See the example below from help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: WA_SPPROD TYPE SPPROD. 

SELECT * FROM SPPROD INTO WA_SPPROD BYPASSING BUFFER 
         WHERE PRODUCER = 'BOE'. 
  WRITE: / WA_SPPROD-STREET, WA_SPPROD-NUMB, WA_SPPROD-POSTCODE, 
           WA_SPPROD-CITY, WA_SPPROD-COUNTRY. 
ENDSELECT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 18:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056504#M90509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-31T18:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056505#M90510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry this did not answer the question. I was asking about NATIVE SQL. As in...&lt;/P&gt;&lt;P&gt;EXEC SQL. &lt;/P&gt;&lt;P&gt;&amp;lt;insert db spefic code here&amp;gt;&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nigel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 20:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056505#M90510</guid>
      <dc:creator>NigelJames180</dc:creator>
      <dc:date>2005-10-31T20:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056506#M90511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought your DELETE is in EXEC SQL whereas your SELECT in the ABAP program uses normal ABAP SELECT statement. Is that not correct? Why are you using native SQl for both DELETE and SELECT? Is your table a non-SAP table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case then may be COMMIT is what is missing. I don't know if ORACLE also has some kind of buffering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2005 20:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056506#M90511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-31T20:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056507#M90512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turns out that a commit was what was missing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2005 11:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-buffering/m-p/1056507#M90512</guid>
      <dc:creator>NigelJames180</dc:creator>
      <dc:date>2005-11-01T11:56:28Z</dc:date>
    </item>
  </channel>
</rss>

