<?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: Import using &amp;quot;Where&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504692#M188629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your post contains your actual script code, you're very near to a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;remove the comma after your last field name in your SQL SELECT (immediately before the WHERE keyword)&lt;/LI&gt;&lt;LI&gt;put the WHERE clause &lt;EM&gt;BEHIND&lt;/EM&gt; the FROM clause. You cannot reverse the order.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW Javier is spot on, and he was first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 13:39:36 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2013-10-22T13:39:36Z</dc:date>
    <item>
      <title>Import using "Where"</title>
      <link>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504690#M188627</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;I'm trying to import a very large SQL table, however I'd like to limit the results by only returning lines with fields with a certain value, in this case "T".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my script, but it fails I have tried variations of this but don't seem to be getting it quite right, could anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"xxACC_REF"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"xxCODE_1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"xxDATE"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"xxVALUE"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; SELECT "xxACC_REF",&lt;BR /&gt; "xxCODE_1",&lt;BR /&gt; "xxDATE",&lt;BR /&gt; "xxVALUE",&lt;BR /&gt; WHERE "xxVALUE" ='T'&lt;BR /&gt; FROM "xxMOVEMENTS"; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;An example of what I would like returned: - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; width: 532px; height: 98px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;xxACC_REF&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;xxCODE_1&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;xxDATE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;xxValue&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;RETURNED&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1232134&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;123412&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/12/10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1234234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12342134&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31/05.09&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1124343&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;324553&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;14/09/02&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;V&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;45346534&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3532&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13/06/00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;T&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Thanks in advance&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 13:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504690#M188627</guid>
      <dc:creator />
      <dc:date>2013-10-22T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import using "Where"</title>
      <link>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504691#M188628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;xxACC_REF&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;xxCODE_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;xxDATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;xxVALUE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; SELECT *&lt;BR /&gt; FROM "xxMOVEMENTS"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; WHERE "xxVALUE" ='T'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 13:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504691#M188628</guid>
      <dc:creator>javier_florian</dc:creator>
      <dc:date>2013-10-22T13:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import using "Where"</title>
      <link>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504692#M188629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your post contains your actual script code, you're very near to a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;remove the comma after your last field name in your SQL SELECT (immediately before the WHERE keyword)&lt;/LI&gt;&lt;LI&gt;put the WHERE clause &lt;EM&gt;BEHIND&lt;/EM&gt; the FROM clause. You cannot reverse the order.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW Javier is spot on, and he was first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 13:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504692#M188629</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2013-10-22T13:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import using "Where"</title>
      <link>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504693#M188630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I had actually just figured it out. Thanks to both of you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 13:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-using-quot-Where-quot/m-p/504693#M188630</guid>
      <dc:creator />
      <dc:date>2013-10-22T13:51:00Z</dc:date>
    </item>
  </channel>
</rss>

