<?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: SELECT 1) FROM 2) INTO  OR reverse in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766641#M1305781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per my knowledge there is no such advantage if you want to find out check on SE30 but run the second after sometime since once you run one it gets buffered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nafran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2009 04:24:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-24T04:24:00Z</dc:date>
    <item>
      <title>SELECT 1) FROM 2) INTO  OR reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766639#M1305779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any difference related to performance if I write a select clause with INTO first and FROM later or vice versa?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) SELECT field 1 ...field 2  INTO TABLE it_mara&lt;/P&gt;&lt;P&gt;                                        FROM mara&lt;/P&gt;&lt;P&gt;                                        where .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) 1) SELECT field 1 ...field 2   FROM mara&lt;/P&gt;&lt;P&gt;                                           INTO TABLE it_mara&lt;/P&gt;&lt;P&gt;                                           where .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 00:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766639#M1305779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T00:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT 1) FROM 2) INTO  OR reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766640#M1305780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;easiest solution is to test in SE30 and hit tips and tricks button and write the code in there...and compare the code, execution time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 03:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766640#M1305780</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-24T03:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT 1) FROM 2) INTO  OR reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766641#M1305781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per my knowledge there is no such advantage if you want to find out check on SE30 but run the second after sometime since once you run one it gets buffered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nafran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 04:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766641#M1305781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T04:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT 1) FROM 2) INTO  OR reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766642#M1305782</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;&lt;/P&gt;&lt;P&gt;1) SELECT field 1 ...field 2 INTO TABLE it_mara&lt;/P&gt;&lt;P&gt;FROM mara&lt;/P&gt;&lt;P&gt;where .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) 1) SELECT field 1 ...field 2 FROM mara&lt;/P&gt;&lt;P&gt;INTO TABLE it_mara&lt;/P&gt;&lt;P&gt;where .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 1) compiler read the Internal table first and assigns field1, field2.....etc., corressponding values o the it_mara. After get the field values from MARA and assign into it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However In 2)  get the fields from MARA and assign those fields with values into it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By comparing both two, 2nd Query takes little bit time than 1st. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it wont affect the delay in Report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 05:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766642#M1305782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T05:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT 1) FROM 2) INTO  OR reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766643#M1305783</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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; Is there any difference related to performance if I write a select clause with INTO first and FROM later or vice versa?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 06:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766643#M1305783</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2009-06-24T06:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT 1) FROM 2) INTO  OR reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766644#M1305784</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; 1) SELECT field 1 ...field 2 INTO TABLE it_mara&lt;/P&gt;&lt;P&gt;&amp;gt; FROM mara&lt;/P&gt;&lt;P&gt;&amp;gt; where .....&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; 2) 1) SELECT field 1 ...field 2 FROM mara&lt;/P&gt;&lt;P&gt;&amp;gt; INTO TABLE it_mara&lt;/P&gt;&lt;P&gt;&amp;gt; where .....&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; In 1) compiler read the Internal table first and assigns field1, field2.....etc., corressponding values o the it_mara. After get the field values from MARA and assign into it_mara.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; However In 2)  get the fields from MARA and assign those fields with values into it_mara.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; By comparing both two, 2nd Query takes little bit time than 1st. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Vimal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interesting... how did you find out and meassure? could you show me your testcase?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 07:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766644#M1305784</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2009-06-24T07:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT 1) FROM 2) INTO  OR reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766645#M1305785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that there is a difference and if there is a difference, I would expect it in the 1% range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will have a hard time to measure it. Forget the SE30 in this case, it is much too inaccurate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would have to run a lot of repeats and measure without tool by using get runtime, but still there is&lt;/P&gt;&lt;P&gt;always a lot of variation in the DB-Select times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the whole thing sounds to me as a starting point of a new myth .... with no content&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 08:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766645#M1305785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T08:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT 1) FROM 2) INTO  OR reverse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766646#M1305786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="18" __jive_macro_name="size"&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt; Difference = 0 !&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 08:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-1-from-2-into-or-reverse/m-p/5766646#M1305786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T08:35:49Z</dc:date>
    </item>
  </channel>
</rss>

