<?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: internal table vs. sql - query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128292#M447092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate on the requirement ..it would be helpful to suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mr Kapadia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 07:55:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-10T07:55:03Z</dc:date>
    <item>
      <title>internal table vs. sql - query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128291#M447091</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;i have a project where i need to work with 1, 5 million of datasets from a table. what would be the most effective way to do that assuming i have to loop at the table and compare every row to all the others. Would internal table still be suitable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 07:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128291#M447091</guid>
      <dc:creator>former_member5350</dc:creator>
      <dc:date>2007-04-10T07:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: internal table vs. sql - query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128292#M447092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate on the requirement ..it would be helpful to suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mr Kapadia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 07:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128292#M447092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T07:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: internal table vs. sql - query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128293#M447093</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;what i want to do is check wheter a table ( e.g. of debitors ) contains duplicates &lt;/P&gt;&lt;P&gt;( produced by spelling-mistakes etc. ) - as i have to go trough the whole table for that and compare every debitor to all the others i would like to know, wheter this can be done well with an internal table or if i should go for something more efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 08:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128293#M447093</guid>
      <dc:creator>former_member5350</dc:creator>
      <dc:date>2007-04-10T08:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: internal table vs. sql - query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128294#M447094</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;Internal table only will be a better choice ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 08:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128294#M447094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T08:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: internal table vs. sql - query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128295#M447095</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;  Internal Table is Better choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  To avoid duplicate entries use the DISTINCT addition in the select query when filling up the internal table.&lt;/P&gt;&lt;P&gt;  Use where conditions whenever poosible, read only the required rows or columns into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Donot let the internal table become too large: use appropriate Table Type.&lt;/P&gt;&lt;P&gt;       -&amp;gt;Standard table for multiple access types; use  SORT / BINARY SEARCH for mass accesses, and try to SORT only once&lt;/P&gt;&lt;P&gt;       -&amp;gt;Sorted table if generic key access is the main access type&lt;/P&gt;&lt;P&gt;       -&amp;gt;Hashed table if single line access with fully specified key is the only access type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try and use APPEND as much as possible, instead of INSERT.&lt;/P&gt;&lt;P&gt;  Make all changes in the internal table and block update into the database table.&lt;/P&gt;&lt;P&gt;  Use the TRANSPORTING addition when modifying the internal table.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Hope U did all of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Award pts for useful answers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naveenan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 08:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128295#M447095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T08:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: internal table vs. sql - query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128296#M447096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you will want to edit the name, (to remove spaces), before you sort the list you will need to use an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run out of space you could use an extract dataset, read about FIELD-GROUPS and EXTRACT in the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MattG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 11:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128296#M447096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T11:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: internal table vs. sql - query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128297#M447097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont think you would face any problem by using the internal table to store any amount iof data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can able to use the selct query to select as many number of files..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 11:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128297#M447097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T11:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal table vs. sql - query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128298#M447098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you would have to use an internal table if you would want to compare every record against a given criteria. The only problem is the peformance of your program since you are saying you need to process 1.5 million records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Please award points if it helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 09:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-vs-sql-query/m-p/2128298#M447098</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2007-04-11T09:24:31Z</dc:date>
    </item>
  </channel>
</rss>

