<?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: Where clause on load QVD and table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936601#M323313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure how to do this in SQL. I still need to learn that, but I hope someone will be able to help you here &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2015 01:04:00 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-12-16T01:04:00Z</dc:date>
    <item>
      <title>Where clause on load QVD and table</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936598#M323310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following load works from a QVD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FROM&lt;BR /&gt;[..\QVD\01_Extract_QVD\APP_ELD.QVD]&lt;BR /&gt;(qvd)&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;where&amp;nbsp; EXP_TYPE_CODE &amp;lt;&amp;gt; ('Operating') and&amp;nbsp; ALT_REQUEST_ID like 'FC*';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the same type of syntax does not work for a table via odbc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM "IT_DW".dbo."DM_STAT_REQ_ALL_V"&lt;/P&gt;&lt;P&gt;where&amp;nbsp; REQ_STATUS not in ('Not Submitted') and REQ_ID like 'FC*' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nor does:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM "IT_DW".dbo."DM_STAT_REQ_ALL_V"&lt;/P&gt;&lt;P&gt;where&amp;nbsp; REQ_STATUS not in ('Not Submitted') and REQ_ID in ('FC*') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 23:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936598#M323310</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-15T23:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause on load QVD and table</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936599#M323311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either you need to restrict this using SQL syntax to restrict the data or use Where statement in the preceding load. I would suggest the 1st method, but cannot really tell because I don't have expertise in SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For second option:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Where Match(EXP_TYPE_CODE, 'Operating') and WildMatch(ALT_REQUEST_ID, 'FC*');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL SELECT FieldNames&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;FROM "IT_DW".dbo."DM_STAT_REQ_ALL_V"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 23:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936599#M323311</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-15T23:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause on load QVD and table</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936600#M323312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the syntax is what is wrong or that line is in the wrong order. I'm confused because this works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load *&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt; FROM "IT_DW".dbo."DM_STAT_REQ_ALL_V"&lt;BR /&gt; where REQ_STATUS not in ('Not Submitted')&amp;nbsp; ; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 00:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936600#M323312</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-16T00:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause on load QVD and table</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936601#M323313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure how to do this in SQL. I still need to learn that, but I hope someone will be able to help you here &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 01:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936601#M323313</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-16T01:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause on load QVD and table</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936602#M323314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey I think I got it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"REQ_ID"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'FC*') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;REQ_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt; FROM "IT_DW".dbo."DM_STAT_REQ_ALL_V"&lt;BR /&gt; where REQ_STATUS not in ('Not Submitted') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 01:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-on-load-QVD-and-table/m-p/936602#M323314</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-16T01:07:10Z</dc:date>
    </item>
  </channel>
</rss>

