<?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 Performance diff in using IN and OR in select query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017213#M1347089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;          Is there any performance optimization in using IN instead of OR in where clause in a select query ? IF yes how ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex : Select&lt;/P&gt;&lt;P&gt;             from&lt;/P&gt;&lt;P&gt;             into table&lt;/P&gt;&lt;P&gt;            where &lt;STRONG&gt;x IN (a, b , c)&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;                      &amp;amp;&lt;/P&gt;&lt;P&gt;             Select&lt;/P&gt;&lt;P&gt;             from&lt;/P&gt;&lt;P&gt;             into table&lt;/P&gt;&lt;P&gt;            where &lt;STRONG&gt;x = a OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                        &lt;STRONG&gt;x = b  OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                        &lt;STRONG&gt;x = c.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;  - Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Aug 2009 05:51:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-15T05:51:38Z</dc:date>
    <item>
      <title>Performance diff in using IN and OR in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017213#M1347089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;          Is there any performance optimization in using IN instead of OR in where clause in a select query ? IF yes how ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex : Select&lt;/P&gt;&lt;P&gt;             from&lt;/P&gt;&lt;P&gt;             into table&lt;/P&gt;&lt;P&gt;            where &lt;STRONG&gt;x IN (a, b , c)&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;                      &amp;amp;&lt;/P&gt;&lt;P&gt;             Select&lt;/P&gt;&lt;P&gt;             from&lt;/P&gt;&lt;P&gt;             into table&lt;/P&gt;&lt;P&gt;            where &lt;STRONG&gt;x = a OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                        &lt;STRONG&gt;x = b  OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                        &lt;STRONG&gt;x = c.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;  - Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2009 05:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017213#M1347089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-15T05:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Performance diff in using IN and OR in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017214#M1347090</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;You can check the performance by writting this code and executing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the use of tools : SE30: Run time analysis: This gives the load on database and appl server&lt;/P&gt;&lt;P&gt;ST05: This is SQL trace for abap select queries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can compare the results and decide which one to go on ur own..&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;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2009 10:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017214#M1347090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-15T10:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance diff in using IN and OR in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017215#M1347091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2009 13:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017215#M1347091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-15T13:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Performance diff in using IN and OR in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017216#M1347092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2009 13:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017216#M1347092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-15T13:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Performance diff in using IN and OR in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017217#M1347093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanks  AKASH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the concept now...but as u said CONCATENATION STRATEGY is used in both these cases.&lt;/P&gt;&lt;P&gt;can u tell me what all other strategies are used in other cases...any documentations any link abt the same ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that i can get insights about internal operations of the select/modify / update / modify statemetns ?&lt;/P&gt;&lt;P&gt;awaiting your response.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;NIlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2009 06:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017217#M1347093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-30T06:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Performance diff in using IN and OR in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017218#M1347094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Akash's posts have been rejected as they were copy pastes of other people's work, which is absolutely forbidden in these forums, as well as being rather dishonest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2009 16:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017218#M1347094</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-08-30T16:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Performance diff in using IN and OR in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017219#M1347095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;         I will be highly obliged if anyone atleast suggest  me the links instead of the direct material so as NOT to violate any rules or policies of the forums.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 05:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017219#M1347095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-31T05:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Performance diff in using IN and OR in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017220#M1347096</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; Hello&lt;/P&gt;&lt;P&gt;&amp;gt;          I will be highly obliged if anyone atleast suggest  me the links instead of the direct material so as NOT to violate any rules or policies of the forums.&lt;/P&gt;&lt;P&gt;&amp;gt; Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;gt; Nilesh&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi, Nilesh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggesting Link is also against the Rules if some one can find for that link than why you can't search yourself for these helpful links ? so always do Search yourself and don't think from other to provide you Links, Please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2009 05:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-diff-in-using-in-and-or-in-select-query/m-p/6017220#M1347096</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-08-31T05:51:04Z</dc:date>
    </item>
  </channel>
</rss>

