<?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: Create 3rd table with value that does not exist in 1 table when compared to another table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-3rd-table-with-value-that-does-not-exist-in-1-table-when/m-p/627436#M679616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is my example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not used exists because you must be sure that one table contains more items than the other, look at my script and let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2014 10:13:05 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-05-09T10:13:05Z</dc:date>
    <item>
      <title>Create 3rd table with value that does not exist in 1 table when compared to another table.</title>
      <link>https://community.qlik.com/t5/QlikView/Create-3rd-table-with-value-that-does-not-exist-in-1-table-when/m-p/627434#M679614</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 am new to QV.&lt;/P&gt;&lt;P&gt;I have 2 set of tables in SQL that get incremented counter added to name (each table average &lt;SPAN style="color: black;"&gt;55 933 802 records)&lt;/SPAN&gt;. I would like to generate .qvd file for each table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populate table with table names from DB&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; SQLTableList:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Load&lt;/STRONG&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;name&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Names&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;select&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt; t.name &lt;BR /&gt; from sys.tables t &lt;BR /&gt; where name like 'Table0%'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result for &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;SQLTableList&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Table001&lt;/P&gt;&lt;P&gt;Table002&lt;/P&gt;&lt;P&gt;Table003&lt;/P&gt;&lt;P&gt;Table004&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populate table with file names from QVData folder&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;For&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Each&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;Ext&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;In&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; 'qvd' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// filetype to search for in current directory&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp; For&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Each&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;File&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FileList&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;amp; '\Table0*.' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Ext&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QVDFileName:&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt; '$(File)' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Autogenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; 1;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Next&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;File&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Next&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;Ext &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Result for &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;QVDFileName &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Table001&lt;/P&gt;&lt;P&gt;Table002&lt;/P&gt;&lt;P&gt;Table003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is table with only the table names I have to generate QVD files for.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Result for &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;GenQVD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Table004&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have investigated the following but did not find any examples where 3&lt;SUP&gt;rd&lt;/SUP&gt; table is created from 2 existing tables:-&lt;/P&gt;&lt;P&gt;Where not exists&lt;/P&gt;&lt;P&gt;Resident load&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas how to do the load for GenQVD?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 09:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-3rd-table-with-value-that-does-not-exist-in-1-table-when/m-p/627434#M679614</guid>
      <dc:creator />
      <dc:date>2014-05-09T09:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create 3rd table with value that does not exist in 1 table when compared to another table.</title>
      <link>https://community.qlik.com/t5/QlikView/Create-3rd-table-with-value-that-does-not-exist-in-1-table-when/m-p/627435#M679615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GenQVD:&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;load Names resident SQLTableList&lt;/P&gt;&lt;P&gt;where not exists(Name, Names);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 10:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-3rd-table-with-value-that-does-not-exist-in-1-table-when/m-p/627435#M679615</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-05-09T10:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create 3rd table with value that does not exist in 1 table when compared to another table.</title>
      <link>https://community.qlik.com/t5/QlikView/Create-3rd-table-with-value-that-does-not-exist-in-1-table-when/m-p/627436#M679616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is my example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not used exists because you must be sure that one table contains more items than the other, look at my script and let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 10:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-3rd-table-with-value-that-does-not-exist-in-1-table-when/m-p/627436#M679616</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-09T10:13:05Z</dc:date>
    </item>
  </channel>
</rss>

