<?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: Index usage in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612854#M1086891</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;Answer is option c &amp;amp; e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Oct 2008 06:15:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-14T06:15:52Z</dc:date>
    <item>
      <title>Index usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612853#M1086890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table ztest has a secondary index on the following fields:&lt;/P&gt;&lt;P&gt;tnum, tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from ztest where tnum ne '123' and tcode = '456'.&lt;/P&gt;&lt;P&gt;Why is the index not used in the above case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Indexes are not allowed on Z tables&lt;/P&gt;&lt;P&gt;b) Variables must be used, NOT literals&lt;/P&gt;&lt;P&gt;c) Select individual fields, not select *&lt;/P&gt;&lt;P&gt;d) Client is not in the where clause&lt;/P&gt;&lt;P&gt;e) NE invalidates the use of an index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me? Is it option a)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Lohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 06:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612853#M1086890</guid>
      <dc:creator>former_member194704</dc:creator>
      <dc:date>2008-10-14T06:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Index usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612854#M1086891</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;Answer is option c &amp;amp; e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 06:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612854#M1086891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T06:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Index usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612855#M1086892</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; There is nothing specific you need to do to use the indexed keys... Its more of an internal process for faster access of the values...Just see to that you use the keys in where condition in the same sequence as found in your table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds,&lt;/P&gt;&lt;P&gt;Madan...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 06:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612855#M1086892</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2008-10-14T06:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Index usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612856#M1086893</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 have to use all the fields used for indexing in where clause of the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 06:18:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-usage/m-p/4612856#M1086893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T06:18:57Z</dc:date>
    </item>
  </channel>
</rss>

