<?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: SQL Warning causes Error in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759289#M660147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. You get a full result, and the second tab of the results page (the Messages tab) contains a warning letting you know that join hints are in use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some research into this "Warning":&lt;/P&gt;&lt;P&gt;It turns out that "join hints" are perfectly legitimate SQL. It's not something I've ever used before, but these pre-built views I'm using must have some.&lt;BR /&gt;examle:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFT OUTER LOOP JOIN - Causes the tables to be used in the join to be analyzed in a loop fashion (good for when one table is significantly smaller than the other)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as opposed to LEFT OUTER JOIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Both give the same results. But the user gives a hint on how the join should be approached. Other options are HASH and MERGE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 15:59:05 GMT</pubDate>
    <dc:creator>deec</dc:creator>
    <dc:date>2015-03-09T15:59:05Z</dc:date>
    <item>
      <title>SQL Warning causes Error in load script</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759285#M660142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have a simple SQL load from a view&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;EM&gt;SELECT *&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;EM&gt;FROM view_name&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;When I run the select statement in SSMS I get results. Along with a warning message: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5f779c; font-family: Verdana, Arial, Tahoma; font-size: 10.6666669845581px; line-height: 1.5em;"&gt;"Warning: The join order has been enforced because a local join hint is used."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5f779c; font-family: Verdana, Arial, Tahoma; font-size: 10.6666669845581px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 13.3333330154419px; font-family: arial, helvetica, sans-serif;"&gt;Qlikview sees this warning and &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;fails the load script&lt;/EM&gt;&lt;/SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 13.3333330154419px; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;Some googling reveals that this warning has something to do with the underlying data in the view query. More info here:&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://www.sqlservercentral.com/Forums/Topic1646163-391-1.aspx" style="font-size: 13.3333330154419px; line-height: 1.5em;" title="http://www.sqlservercentral.com/Forums/Topic1646163-391-1.aspx"&gt;http://www.sqlservercentral.com/Forums/Topic1646163-391-1.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;The type of warning seems irrelevant to me. What is frustrating is that Qlikview is handling this in such a way that it will not bring any data in, just the warning:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="warning.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80170_warning.PNG" style="height: 135px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Does anyone have suggestions on how to overlook the warning? (Other than figuring out how to re-write the underlying view to avoid the warning.)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 16:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759285#M660142</guid>
      <dc:creator>deec</dc:creator>
      <dc:date>2015-03-06T16:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Warning causes Error in load script</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759286#M660143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to adjust the ErrorMode variable like this before your load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ErrorMode=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which will supress error messages? Maybe it will retrieve the rows from the result set...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2015 01:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759286#M660143</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-03-07T01:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Warning causes Error in load script</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759287#M660144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion. All this does is skip the error acknowledgement. But the "error" still occurs, so no results are retrieved from the source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 12:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759287#M660144</guid>
      <dc:creator>deec</dc:creator>
      <dc:date>2015-03-09T12:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Warning causes Error in load script</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759288#M660146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, do you get data returned if you run your query in SQL Management Studio?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 13:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759288#M660146</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-09T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Warning causes Error in load script</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759289#M660147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. You get a full result, and the second tab of the results page (the Messages tab) contains a warning letting you know that join hints are in use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some research into this "Warning":&lt;/P&gt;&lt;P&gt;It turns out that "join hints" are perfectly legitimate SQL. It's not something I've ever used before, but these pre-built views I'm using must have some.&lt;BR /&gt;examle:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFT OUTER LOOP JOIN - Causes the tables to be used in the join to be analyzed in a loop fashion (good for when one table is significantly smaller than the other)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as opposed to LEFT OUTER JOIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Both give the same results. But the user gives a hint on how the join should be approached. Other options are HASH and MERGE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Warning-causes-Error-in-load-script/m-p/759289#M660147</guid>
      <dc:creator>deec</dc:creator>
      <dc:date>2015-03-09T15:59:05Z</dc:date>
    </item>
  </channel>
</rss>

