<?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: help using a 'BETWEEN' join on tables from different datasources in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200194#M58822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;Thanks for you nice explanation...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 04:12:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-25T04:12:02Z</dc:date>
    <item>
      <title>help using a 'BETWEEN' join on tables from different datasources</title>
      <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200189#M58817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a query on my PC that uses the BETWEEN command in ORACLE&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;transdate between period.start_date and period.end_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to take the period table in our Oracle database, and join it in the same way with a table in SQL Server&lt;/P&gt;&lt;P&gt;so that I get the period name that each financial transaction belongs to.&lt;/P&gt;&lt;P&gt;Is there a way of doing this in QlikView script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200189#M58817</guid>
      <dc:creator />
      <dc:date>2010-09-14T12:11:00Z</dc:date>
    </item>
    <item>
      <title>help using a 'BETWEEN' join on tables from different datasources</title>
      <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200190#M58818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe, you can try with "link server" oracle to sql serve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200190#M58818</guid>
      <dc:creator />
      <dc:date>2010-09-14T12:44:19Z</dc:date>
    </item>
    <item>
      <title>help using a 'BETWEEN' join on tables from different datasources</title>
      <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200191#M58819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either you keep using the Between function in the SQL statement in your script.&lt;/P&gt;&lt;P&gt;Or you can have a look at &lt;I&gt;interval&lt;/I&gt; function in the help file&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200191#M58819</guid>
      <dc:creator />
      <dc:date>2010-09-14T12:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: help using a 'BETWEEN' join on tables from different datasources</title>
      <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200192#M58820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Matt,&lt;/P&gt;&lt;P&gt;If I understood your question right, this example may help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;DatesTable:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Start, End, Name&lt;/P&gt;&lt;P&gt;01/01/2010, 31/01/2010, First&lt;/P&gt;&lt;P&gt;01/02/2010, 28/02/2010, Second&lt;/P&gt;&lt;P&gt;]; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactsTable:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ID, Date, Amount&lt;/P&gt;&lt;P&gt;A, 03/02/2010, 100&lt;/P&gt;&lt;P&gt;B, 16/01/2010, 200&lt;/P&gt;&lt;P&gt;]; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactsDates:&lt;/P&gt;&lt;P&gt;INTERVALMATCH (Date) LEFT JOIN LOAD Start, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&lt;/P&gt;&lt;P&gt;RESIDENT DatesTable;&lt;/P&gt;&lt;P&gt;LEFT JOIN (FactsTable) LOAD * &lt;/P&gt;&lt;P&gt;RESIDENT DatesTable; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE DatesTable;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 13:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200192#M58820</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-14T13:05:09Z</dc:date>
    </item>
    <item>
      <title>help using a 'BETWEEN' join on tables from different datasources</title>
      <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200193#M58821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is absolutely correct!&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;P&gt;Strangely enough I have not used the interval match function before..&lt;/P&gt;&lt;P&gt;by the look of it, its something that I may want to use a lot going forward&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 14:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200193#M58821</guid>
      <dc:creator />
      <dc:date>2010-09-14T14:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: help using a 'BETWEEN' join on tables from different datasources</title>
      <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200194#M58822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;Thanks for you nice explanation...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 04:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200194#M58822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-25T04:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: help using a 'BETWEEN' join on tables from different datasources</title>
      <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200195#M58823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Interval Match Example.PNG" class="image-1 jive-image" src="/legacyfs/online/73923_Interval Match Example.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;This was a very simple and clear example on Interval Match. Just awesome. Thanks Miguel. I still have doubts on the resident loads and how it solved this particular problem using Interval match. I was able to use it to get the right answer as in the image above but have some questions. When you drop the dates table, I am still able to use the field "name" because I brought that field from that table to facts table using a left join, correct..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 11.8181819915771px; font-family: Consolas, 'Courier New', Courier, mono, serif; list-style-position: initial; list-style-image: initial; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;INTERVALMATCH (Date) LEFT JOIN LOAD Start,&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;RESIDENT DatesTable;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Here, i am doing a left join on which table?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;2) &lt;/SPAN&gt;&lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 11.8181819915771px; font-family: Consolas, 'Courier New', Courier, mono, serif; list-style-position: initial; list-style-image: initial; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;LEFT JOIN (FactsTable) LOAD *&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;RESIDENT DatesTable;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Here, I am bringing fields from dates table to Factstable, correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;3) and Finally why did I use Resident Loads twice..?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;I am finding such meaningful answers in this community. Thanks to everyone involved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;Happy Friday :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 16:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200195#M58823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-19T16:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: help using a 'BETWEEN' join on tables from different datasources</title>
      <link>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200196#M58824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Reply??????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 20:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-using-a-BETWEEN-join-on-tables-from-different-datasources/m-p/200196#M58824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-19T20:33:20Z</dc:date>
    </item>
  </channel>
</rss>

