<?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: SQL error in the database when accessing a table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554390#M1563754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inner join on more than 2 tables is not recommended, and it will not work if we have huge amounts of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better try to use the inner join on two tables and try to use for all entries on the third table which will have a better performace than using the inner join on 3 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravindra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jan 2011 12:02:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-28T12:02:16Z</dc:date>
    <item>
      <title>SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554386#M1563750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an inner join on 3 tables which works perfectly well in development &amp;amp; quality but the same fails in production. I get the error 'SQL error in the database when accessing a table'. These 3 tables have 99,770, 88,408 &amp;amp; 93,937 records in production. The amount of data in development &amp;amp; quality is less.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 11:35:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554386#M1563750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T11:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554387#M1563751</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;Check if all 3 tables are present in PRD. Also check if the columns are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dsouzajovito on Jan 28, 2011 12:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 11:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554387#M1563751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T11:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554388#M1563752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, all three tables are present in production &amp;amp; have the same columns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 11:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554388#M1563752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554389#M1563753</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;Did you activate the tables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, Can you give more details of the dump (ST22).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554389#M1563753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554390#M1563754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inner join on more than 2 tables is not recommended, and it will not work if we have huge amounts of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better try to use the inner join on two tables and try to use for all entries on the third table which will have a better performace than using the inner join on 3 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravindra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554390#M1563754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554391#M1563755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my query where it failed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT /1om/reworwoh010~ordid&lt;/P&gt;&lt;P&gt;           /1om/reworwoh010~ordno&lt;/P&gt;&lt;P&gt;           /1om/reworwoh010~prtidfr&lt;/P&gt;&lt;P&gt;           /1om/reworwoh010~poordno&lt;/P&gt;&lt;P&gt;           ztscm_custpo_spl~order_id&lt;/P&gt;&lt;P&gt;           ztscm_custpo_spl~customer_po&lt;/P&gt;&lt;P&gt;           ztscm_custpo_spl~delivery_no&lt;/P&gt;&lt;P&gt;           ztscm_custpo_spl~customer_model&lt;/P&gt;&lt;P&gt;           ztscm_custpo_spl~quantity&lt;/P&gt;&lt;P&gt;           ztscm_custpo_spl~VEN_CONF_DATE&lt;/P&gt;&lt;P&gt;           ztscm_add_data~order_id&lt;/P&gt;&lt;P&gt;           ztscm_add_data~customer&lt;/P&gt;&lt;P&gt;           ztscm_add_data~product_no&lt;/P&gt;&lt;P&gt;           ztscm_add_data~product_id&lt;/P&gt;&lt;P&gt;      FROM /1om/reworwoh010&lt;/P&gt;&lt;P&gt;      INNER JOIN ztscm_custpo_spl ON&lt;/P&gt;&lt;P&gt;        ztscm_custpo_spl&lt;SUB&gt;order_id = /1om/reworwoh010&lt;/SUB&gt;ordid&lt;/P&gt;&lt;P&gt;      INNER JOIN ztscm_add_data ON&lt;/P&gt;&lt;P&gt;        ztscm_add_data&lt;SUB&gt;order_id = /1om/reworwoh010&lt;/SUB&gt;ordid&lt;/P&gt;&lt;P&gt;      INTO CORRESPONDING FIELDS OF TABLE t_/1om/reworwoh010&lt;/P&gt;&lt;P&gt;      WHERE /1om/reworwoh010~prtidfr IN t_prtid AND&lt;/P&gt;&lt;P&gt;            /1om/reworwoh010~poordno IN t_poordno AND&lt;/P&gt;&lt;P&gt;            ztscm_custpo_spl~customer_po IN t_custpo AND&lt;/P&gt;&lt;P&gt;            ztscm_custpo_spl~VEN_CONF_DATE in t_vcd and&lt;/P&gt;&lt;P&gt;            ztscm_add_data~product_no IN t_matnr AND&lt;/P&gt;&lt;P&gt;            ztscm_add_data~customer IN t_cust  .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554391#M1563755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554392#M1563756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the error you are getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554392#M1563756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554393#M1563757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shpava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do know much of ur custom tables so wont be able to help with the query.&lt;/P&gt;&lt;P&gt;Can you post the dump that you receive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the contents that are relevant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554393#M1563757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554394#M1563758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dump says SQL error in the database when accessing a table. I am not able to figure out why it is failing in PRD. Could it be because of the huge amount of data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554394#M1563758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554395#M1563759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    SQL error in the database when accessing a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to correct the error&lt;/P&gt;&lt;P&gt;    Database error text........: "Resource limit exceeded. MSGID=&lt;/P&gt;&lt;P&gt;     Job=410440/SN302/WP00"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Information on where terminated&lt;/P&gt;&lt;P&gt;    Termination occurred in the ABAP program "/1BCWDY/JZKQIYPSL2MIDBTNNIQR==CP" -&lt;/P&gt;&lt;P&gt;     in "GET_DATA".&lt;/P&gt;&lt;P&gt;    The main program was "SAPMHTTP ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In the source code you have the termination point in line 1414&lt;/P&gt;&lt;P&gt;    of the (Include) program "/1BCWDY/B_JZKQIN8R6S91THNZXKPH".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Termination occurred in a Web Dynpro application&lt;/P&gt;&lt;P&gt;      Web Dynpro Component          ZSNC_SHIPPING_GR_INV_NEW&lt;/P&gt;&lt;P&gt;      Web Dynpro Controller         COMPONENTCONTROLLER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in&lt;/P&gt;&lt;P&gt;    procedure "GET_DATA" "(METHOD)", but it was neither handled locally nor&lt;/P&gt;&lt;P&gt;     declared&lt;/P&gt;&lt;P&gt;    in the RAISING clause of its signature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The procedure is in program "/1BCWDY/JZKQIYPSL2MIDBTNNIQR==CP "; its source&lt;/P&gt;&lt;P&gt;     code begins in line&lt;/P&gt;&lt;P&gt;    693 of the (Include program "/1BCWDY/B_JZKQIN8R6S91THNZXKPH ".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554395#M1563759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554396#M1563760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Database error text........: "Resource limit exceeded. MSGID=Job=410440/SN302/WP00&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like a perfect point to start, don't you think so too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554396#M1563760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554397#M1563761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does 'Resource limit exceeded' exactly mean? What is your suggestion to fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554397#M1563761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554398#M1563762</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;This error is thrown by the SQL database when it doesnt have more space to place the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at it this way.. the join created by your program has a very large cartesian product which requires a large amount of memory and the database is not able to provide that much memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your option would be to query one table at  a time using the clause FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then inside a loop, you can simulate the join using READ TABLE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 12:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554398#M1563762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T12:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554399#M1563763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I will try it &amp;amp; will let you know if this works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 13:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554399#M1563763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T13:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554400#M1563764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Inner join on more than 2 tables is not recommended, and it will not work if we have huge amounts of data.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Better try to use the inner join on two tables and try to use for all entries on the third table which will have a better performace than using the inner join on 3 tables.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; ravindra.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Absolutely and positively incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 14:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554400#M1563764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T14:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554401#M1563765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's rubbish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 16:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554401#M1563765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T16:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554402#M1563766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you run out of memory the best solution is to use package processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of SELECT * INTO TABLE ... use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN CURSOR...FOR SELECT ...&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;  FETCH NEXT CURSOR...PACKAGE SIZE ...INTO...&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;     EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;CLOSE CURSOR...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 16:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554402#M1563766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T16:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: SQL error in the database when accessing a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554403#M1563767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, even I don't agree to this. Why wouldn't a join work? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a matter of fact something strange happened. Without any modification the join on 3 tables and the 2nd one which I had on 4 tables starting working in production as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 06:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-error-in-the-database-when-accessing-a-table/m-p/7554403#M1563767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T06:56:13Z</dc:date>
    </item>
  </channel>
</rss>

