<?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: Sequential selection from DB in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-selection-from-db/m-p/4358646#M1037620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a Selectus Interruptus, very interesting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could add a flag to the DB table (is it just one?) and create a secondary index on this flag. Then&lt;/P&gt;&lt;P&gt;- select records with emtpy flag and addition UP TO &amp;lt;p_pckt&amp;gt; ROWS&lt;/P&gt;&lt;P&gt;- process the data&lt;/P&gt;&lt;P&gt;- set the flag in the processed records to "X"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This assumes that there are no blocks of data that must be processed together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Sep 2008 16:15:14 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2008-09-01T16:15:14Z</dc:date>
    <item>
      <title>Sequential selection from DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-selection-from-db/m-p/4358645#M1037619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;  I have a DB with more than 30 million records. &lt;/P&gt;&lt;P&gt;I would like to process the records using the packet size &amp;lt;p_pckt&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Requirement is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I would first process the first &amp;lt;p_pckt&amp;gt; records first. &lt;/P&gt;&lt;P&gt;Then later on when I come to execute the report some other day i would start the fetching and  processing from &amp;lt;p_pckt&amp;gt; + 1 record in the DB  and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any one suggest some efficient way of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 15:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-selection-from-db/m-p/4358645#M1037619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T15:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential selection from DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-selection-from-db/m-p/4358646#M1037620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a Selectus Interruptus, very interesting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could add a flag to the DB table (is it just one?) and create a secondary index on this flag. Then&lt;/P&gt;&lt;P&gt;- select records with emtpy flag and addition UP TO &amp;lt;p_pckt&amp;gt; ROWS&lt;/P&gt;&lt;P&gt;- process the data&lt;/P&gt;&lt;P&gt;- set the flag in the processed records to "X"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This assumes that there are no blocks of data that must be processed together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 16:15:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-selection-from-db/m-p/4358646#M1037620</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-09-01T16:15:14Z</dc:date>
    </item>
  </channel>
</rss>

