<?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: Possible to use Oracle /*+*/ hint in SQL SELECT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Possible-to-use-Oracle-hint-in-SQL-SELECT/m-p/1609031#M444985</link>
    <description>&lt;P&gt;Completely necroing this thread but....&lt;/P&gt;&lt;P&gt;&lt;A href="https://boristyukin.com/qlikview-and-oracle-database-tips-for-performance/" target="_blank" rel="noopener"&gt;https://boristyukin.com/qlikview-and-oracle-database-tips-for-performance/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally Oracle query hints will be written using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/*+ ... */syntax. One day I spent many hours trying to figure out why one of my queries took forever to finish if I ran it from QlikView and took only a minute if I ran it from Oracle SQL Developer. Turned out that QlikView by default would strip out comments from SQL statement and treat&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/*+ ... */&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as a comment.&lt;/P&gt;&lt;P&gt;This "feature" is discussed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/thread/82943" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Solution is easy - just use --+ syntax instead if you need to pass a query hint. Of course it is a very easy thing to forget!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2019 19:23:26 GMT</pubDate>
    <dc:creator>mellerbeck</dc:creator>
    <dc:date>2019-08-02T19:23:26Z</dc:date>
    <item>
      <title>Possible to use Oracle /*+*/ hint in SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-use-Oracle-hint-in-SQL-SELECT/m-p/231563#M83287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a user attempting to use a hint with Oracle like:&lt;/P&gt;&lt;P&gt;SELECT /*+full(a)*/ col1, col2 blah blah...&lt;/P&gt;&lt;P&gt;She reports the hint is not reaching the Oracle server. I suspect QV is stripping out the hint because it looks like a /* */ QV comment. Anyone else experienced this problem? Any workarounds?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 22:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-use-Oracle-hint-in-SQL-SELECT/m-p/231563#M83287</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-02-04T22:04:43Z</dc:date>
    </item>
    <item>
      <title>Possible to use Oracle /*+*/ hint in SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-use-Oracle-hint-in-SQL-SELECT/m-p/231564#M83288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set StripComments=0;&lt;/P&gt;&lt;P&gt;After your sql Please use Set StripComments=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;If this variable is set to 0, stripping of &lt;STRONG&gt;/&lt;/STRONG&gt;*..*&lt;STRONG&gt;/&lt;/STRONG&gt; and &lt;STRONG&gt;//&lt;/STRONG&gt; comments in the script will be inhibited. Certain database drivers utilizing &lt;STRONG&gt;/&lt;/STRONG&gt;*..*&lt;STRONG&gt;/&lt;/STRONG&gt; comments for defining hints in &lt;STRONG&gt;select&lt;/STRONG&gt; statements may otherwise cause script errors. It is recommended that this variable be reset to 1 immediately after the statement(s) where it is needed. If this variable is not defined, stripping of comments will always be performed.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 01:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-use-Oracle-hint-in-SQL-SELECT/m-p/231564#M83288</guid>
      <dc:creator />
      <dc:date>2010-02-05T01:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to use Oracle /*+*/ hint in SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-use-Oracle-hint-in-SQL-SELECT/m-p/1609031#M444985</link>
      <description>&lt;P&gt;Completely necroing this thread but....&lt;/P&gt;&lt;P&gt;&lt;A href="https://boristyukin.com/qlikview-and-oracle-database-tips-for-performance/" target="_blank" rel="noopener"&gt;https://boristyukin.com/qlikview-and-oracle-database-tips-for-performance/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally Oracle query hints will be written using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/*+ ... */syntax. One day I spent many hours trying to figure out why one of my queries took forever to finish if I ran it from QlikView and took only a minute if I ran it from Oracle SQL Developer. Turned out that QlikView by default would strip out comments from SQL statement and treat&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/*+ ... */&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as a comment.&lt;/P&gt;&lt;P&gt;This "feature" is discussed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/thread/82943" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Solution is easy - just use --+ syntax instead if you need to pass a query hint. Of course it is a very easy thing to forget!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 19:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-use-Oracle-hint-in-SQL-SELECT/m-p/1609031#M444985</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2019-08-02T19:23:26Z</dc:date>
    </item>
  </channel>
</rss>

