<?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: Database Hints in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253332#M1631305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can send both the DB table name and also Oracle hints syntax dynamically (as variable contents) to the Open SQL statement, so this should be possible.&lt;/P&gt;&lt;P&gt;Please read ABAP online documentation for SELECT and search for additional information on "%_HINTS ORACLE", I've found some interesting threads after a quick search.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2011 10:10:54 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2011-10-26T10:10:54Z</dc:date>
    <item>
      <title>Database Hints</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253331#M1631304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on performance issue..The requirement is like : The user can enter the table and  Index name in the Selection screen.&lt;/P&gt;&lt;P&gt;select query should pick the data from Database table based on the index.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In where condition i have to incorporate the Oracle hints.((%_HINTS ORACLE  )...&lt;/P&gt;&lt;P&gt;Can any one suggest me how to proceed.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jayan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 09:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253331#M1631304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-26T09:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Database Hints</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253332#M1631305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can send both the DB table name and also Oracle hints syntax dynamically (as variable contents) to the Open SQL statement, so this should be possible.&lt;/P&gt;&lt;P&gt;Please read ABAP online documentation for SELECT and search for additional information on "%_HINTS ORACLE", I've found some interesting threads after a quick search.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 10:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253332#M1631305</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-10-26T10:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Database Hints</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253333#M1631306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do something like the following to build your dynamic select statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;concatenate 'INDEX("' p_table '", "' p_index '")' into lv_hint.

  select single *
    from (p_table)
    into ls_result
    %_HINTS ORACLE lv_hint.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a similar thread and was solved: &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1640145"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 10:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253333#M1631306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-26T10:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Database Hints</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253334#M1631307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;?? a user is supplying a table and index name?  Why would you do that?  If they don't supply values for the fields named in the chosen index, you're going to read the table end-to-end anyway....   Why would a user even be reading a database table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 16:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253334#M1631307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-26T16:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Database Hints</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253335#M1631308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point actually. Maybe he's planning a little "don't trust the CBO" kind of analysis program, to compare runtimes of different access paths?&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 18:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-hints/m-p/8253335#M1631308</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-10-26T18:34:19Z</dc:date>
    </item>
  </channel>
</rss>

