<?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 Force the SQL statement to use custom index by using %_HINTS parameter. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697634#M1577675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing the SQL statement to use the existing custom index (Z03) for table BSAD by using the %_HINTS parameter. No option to specify the fields in WHERE condition. If i am not using this secondary index, program is going to dump. Even the table also going to short dump. Whether it will impact on any other programs. &amp;lt;removed by moderator&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT specified fields&lt;/P&gt;&lt;P&gt;  FROM bsad INTO table gt_bsad&lt;/P&gt;&lt;P&gt;  WHERE bukrs =  p_comp AND kunnr in s_kunnr&lt;/P&gt;&lt;P&gt;  AND budat &amp;lt;= p_stdate&lt;/P&gt;&lt;P&gt;  AND ZLSPR NE 'A'.&lt;/P&gt;&lt;P&gt;  %_HINTS ORACLE 'INDEX("BSAD" "BSAD~Z03")'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Mar 4, 2011 5:05 PM - no "needful" please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2011 15:55:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-04T15:55:39Z</dc:date>
    <item>
      <title>Force the SQL statement to use custom index by using %_HINTS parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697634#M1577675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing the SQL statement to use the existing custom index (Z03) for table BSAD by using the %_HINTS parameter. No option to specify the fields in WHERE condition. If i am not using this secondary index, program is going to dump. Even the table also going to short dump. Whether it will impact on any other programs. &amp;lt;removed by moderator&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT specified fields&lt;/P&gt;&lt;P&gt;  FROM bsad INTO table gt_bsad&lt;/P&gt;&lt;P&gt;  WHERE bukrs =  p_comp AND kunnr in s_kunnr&lt;/P&gt;&lt;P&gt;  AND budat &amp;lt;= p_stdate&lt;/P&gt;&lt;P&gt;  AND ZLSPR NE 'A'.&lt;/P&gt;&lt;P&gt;  %_HINTS ORACLE 'INDEX("BSAD" "BSAD~Z03")'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Mar 4, 2011 5:05 PM - no "needful" please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 15:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697634#M1577675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T15:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Force the SQL statement to use custom index by using %_HINTS parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697635#M1577676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"No option to specify the fields in WHERE condition", what does this mean?&lt;/P&gt;&lt;P&gt;How is s_kunnr filled when this query runs?&lt;/P&gt;&lt;P&gt;How does your Z03 index look like?&lt;/P&gt;&lt;P&gt;"Even the table also going to short dump", what does this mean?&lt;/P&gt;&lt;P&gt;What dumps are you seeing, time outs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A hint only affects this very statement where it is used, no other statements in the same or other programs.&lt;/P&gt;&lt;P&gt;Introducing or removing indexes can affect your entire system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 16:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697635#M1577676</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-03-04T16:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Force the SQL statement to use custom index by using %_HINTS parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697636#M1577677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are getting dumps related to internal table memory overflow , you can try using CURSOR and linit the records by package size and process these records and FETCH the cursor again .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 16:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697636#M1577677</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2011-03-04T16:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Force the SQL statement to use custom index by using %_HINTS parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697637#M1577678</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;Using a specific index might improve/reduce the performance of your program, but not using it should not result in a dump, By dump do u mean time out error? and what about the WHERE condition? Please provide proper details &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 05:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697637#M1577678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-07T05:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Force the SQL statement to use custom index by using %_HINTS parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697638#M1577679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hint question should not be discussed in this forum!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;People who do not know how hints work (there is sufficient information in notes) should not use hints. I am quite sure that this the case here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 08:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/force-the-sql-statement-to-use-custom-index-by-using-hints-parameter/m-p/7697638#M1577679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-07T08:31:37Z</dc:date>
    </item>
  </channel>
</rss>

