<?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: Understanding Load with SQL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295045#M109493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do a "Like" statement on a resident table B base on a value on a resident table A?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this... &lt;/P&gt;&lt;P&gt;C:&lt;/P&gt;&lt;P&gt;LOAD DESCRIPTION as "DESCRIPTION_2"&lt;/P&gt;&lt;P&gt;Resident A,B&lt;/P&gt;&lt;P&gt;Where FIELD_FROM_A LIKE '%FIELD_FROM_B%';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2011 15:24:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-16T15:24:29Z</dc:date>
    <item>
      <title>Understanding Load with SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295040#M109488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i'm trying to understand the Load functionality but i cant make it work with my SQL statement.&lt;/P&gt;&lt;P&gt;I want first to Load some SQL statement and then use this Resident table to filter some value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [DB] (XUserId is CHXfAKVGTZNMTbUF, XPassword is KXVLKHFMSLdIXXJGQJMCDRC);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL SELECT external_system_id from nsu_external_systems&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [DB2] (XUserId is RTJJKKVGTBNETYYB, XPassword is PWVHVBVOBbceGXJGQJMCTSA);&lt;/P&gt;&lt;P&gt;B: &lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL SELECT description, description_clean, responsible, external_system_id from T53421.nsu_system_interfaces_errors;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Resident A&lt;/P&gt;&lt;P&gt;Where external_system_id &amp;lt; 5;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesnt work, it says "Field external_system_id not found" or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont get it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 13:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295040#M109488</guid>
      <dc:creator />
      <dc:date>2011-06-16T13:48:11Z</dc:date>
    </item>
    <item>
      <title>Understanding Load with SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295041#M109489</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;the field may have been sent back in uppercase. So you would need to write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where EXTERNAL_SYSTEM_ID &amp;lt; 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 14:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295041#M109489</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-16T14:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Load with SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295042#M109490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿﻿﻿﻿﻿Oh! Pat you are a genious &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, that fixed the error but is it brings me all the A table. Is like the Where clause isnt working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 14:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295042#M109490</guid>
      <dc:creator />
      <dc:date>2011-06-16T14:23:25Z</dc:date>
    </item>
    <item>
      <title>Understanding Load with SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295043#M109491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; start by taking out your load and sql call to table B (you can always bring this back in afterwards)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your field EXTERNAL_SYSTEM_ID is present in both A and B and I'd get that out of the way to work out why your 3rd call isn't giving you your expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by the way if you really don't want the EXTERNAL_SYSTEM_ID which are gretaer than 5 you should put your where clause in your sql and just not bring them into qv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 14:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295043#M109491</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-16T14:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Load with SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295044#M109492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pat i know that i can filter my statement directly on the SQL statement.&lt;/P&gt;&lt;P&gt;I put this example to make some tests, but i dont understand why it brings me all records and not only those which are &amp;lt;5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, i will continue testing it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 14:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295044#M109492</guid>
      <dc:creator />
      <dc:date>2011-06-16T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Load with SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295045#M109493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do a "Like" statement on a resident table B base on a value on a resident table A?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this... &lt;/P&gt;&lt;P&gt;C:&lt;/P&gt;&lt;P&gt;LOAD DESCRIPTION as "DESCRIPTION_2"&lt;/P&gt;&lt;P&gt;Resident A,B&lt;/P&gt;&lt;P&gt;Where FIELD_FROM_A LIKE '%FIELD_FROM_B%';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 15:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295045#M109493</guid>
      <dc:creator />
      <dc:date>2011-06-16T15:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Load with SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295046#M109494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the datatype of the field EXTERNAL_SYSTEM_ID in the SQL Server table? Is it varchar or numeric? Depending on this, you may modify your WHERE clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 18:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-Load-with-SQL/m-p/295046#M109494</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-06-16T18:35:17Z</dc:date>
    </item>
  </channel>
</rss>

