<?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: data base access in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712647#M893757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laksham&lt;/P&gt;&lt;P&gt;Hi Lakshman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether u hav few records or large number of records it always better to go for SELECT ... INTO TABLE &amp;lt;internal table&amp;gt;  or workarea option becoz here u hit the database only once which determines ur performance also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when u dnt use work area with select query or loop-endloop u get error/warnings in SLIN transaction.And the over all performnace issue increases.&lt;/P&gt;&lt;P&gt;Avoid using SELECT-ENDSELECT as for each record here the database is hit and the performance reduces drastically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope ur confusion got cleared.&lt;/P&gt;&lt;P&gt;If any further query plz let me knw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 04:56:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-24T04:56:24Z</dc:date>
    <item>
      <title>data base access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712641#M893751</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;&lt;/P&gt;&lt;P&gt;while working with large no of records. which would be the better method to fetch data from the database . using select endselect with work area or fetching the data into internal table... which one will work faster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 04:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712641#M893751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T04:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: data base access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712642#M893752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; If the records are exceeding more than 1 Lakh it better to go with work Area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward iF Helpfull,&lt;/P&gt;&lt;P&gt; Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 04:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712642#M893752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T04:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: data base access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712643#M893753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lakshman,&lt;/P&gt;&lt;P&gt;While fetching the records the better method is by using Internal Tables.&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Select and endselect&lt;/STRONG&gt; is also like a looping the table.&lt;/P&gt;&lt;P&gt;and also &lt;STRONG&gt;select endselect&lt;/STRONG&gt; is obsolute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz rewards points if helpful,&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Ganesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 04:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712643#M893753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T04:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: data base access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712644#M893754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lakshman, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have plenty of records then its better to get the Data in to internal tables first and process the internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Disadvantage of SELECT ENDSELECT  is that it is a loop. &lt;STRONG&gt;For each and every record it hits the Database. Due to this the PERFORMANCE decreases.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Efficiency depends on how many times we r hiting the database. &lt;/P&gt;&lt;P&gt;so if  we use &lt;STRONG&gt;SELECT ENDSELECT&lt;/STRONG&gt;, &lt;STRONG&gt;each and every time it hits the database&lt;/STRONG&gt; to fetch the record. But where as in &lt;STRONG&gt;SELECT ... INTO TABLE &amp;lt;internal table&amp;gt;&lt;/STRONG&gt;  u &lt;STRONG&gt;hit the database only once&lt;/STRONG&gt; and fetch all the required records and store in to ur internal table. Now u can process ur internal table for further operations &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward if helpful&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;raam&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 04:20:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712644#M893754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T04:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: data base access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712645#M893755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;While fetching the data from the data base table being small number of data or large number of data it is always good and better practise to go on with the concept of work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As u need to fetch large number of records from the database table it is better and good to use work area for faster access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 04:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712645#M893755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T04:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: data base access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712646#M893756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        It is always better to extract data into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise , if u are using only work area , if u want to use the data in the work area in furthur part of program , how can u use it? So, it is always better to use internal table to retrieve the data from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful, reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;G.V.K.Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 04:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712646#M893756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T04:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: data base access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712647#M893757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laksham&lt;/P&gt;&lt;P&gt;Hi Lakshman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether u hav few records or large number of records it always better to go for SELECT ... INTO TABLE &amp;lt;internal table&amp;gt;  or workarea option becoz here u hit the database only once which determines ur performance also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when u dnt use work area with select query or loop-endloop u get error/warnings in SLIN transaction.And the over all performnace issue increases.&lt;/P&gt;&lt;P&gt;Avoid using SELECT-ENDSELECT as for each record here the database is hit and the performance reduces drastically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope ur confusion got cleared.&lt;/P&gt;&lt;P&gt;If any further query plz let me knw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 04:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712647#M893757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T04:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: data base access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712648#M893758</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 and end select will cause performance issue &lt;/P&gt;&lt;P&gt;Due to hitting database table for several time. Using Internal table and workarea is better than select and End select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 09:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-base-access/m-p/3712648#M893758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T09:43:14Z</dc:date>
    </item>
  </channel>
</rss>

