<?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 Incremental Load Help on Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757245#M269525</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;&lt;/P&gt;&lt;P&gt;I have a large transactions table that has millions of records in it. What i want to do is only reload the new records. Old records are static and never change. There is a transaction number that is unique to each record created in the database so i only need to reload the records that have a transaction number that doesnt already exist in the QVD. Eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Pulled from QVD already created&lt;/P&gt;&lt;P&gt;Transactions:&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;TransNbr,&lt;/P&gt;&lt;P&gt;Qty,&lt;/P&gt;&lt;P&gt;Time,&lt;/P&gt;&lt;P&gt;Type,&lt;/P&gt;&lt;P&gt;Locations;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load in new records where TransNbr doesn't exist in previous table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;??????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unsure on the exact script that i need to use as i haven't used incremental loads before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help in advance&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Feb 2015 09:01:22 GMT</pubDate>
    <dc:creator>benhumphrey</dc:creator>
    <dc:date>2015-02-06T09:01:22Z</dc:date>
    <item>
      <title>Incremental Load Help on Script</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757245#M269525</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;&lt;/P&gt;&lt;P&gt;I have a large transactions table that has millions of records in it. What i want to do is only reload the new records. Old records are static and never change. There is a transaction number that is unique to each record created in the database so i only need to reload the records that have a transaction number that doesnt already exist in the QVD. Eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Pulled from QVD already created&lt;/P&gt;&lt;P&gt;Transactions:&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;TransNbr,&lt;/P&gt;&lt;P&gt;Qty,&lt;/P&gt;&lt;P&gt;Time,&lt;/P&gt;&lt;P&gt;Type,&lt;/P&gt;&lt;P&gt;Locations;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load in new records where TransNbr doesn't exist in previous table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;??????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unsure on the exact script that i need to use as i haven't used incremental loads before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help in advance&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 09:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757245#M269525</guid>
      <dc:creator>benhumphrey</dc:creator>
      <dc:date>2015-02-06T09:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help on Script</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757246#M269526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aircode:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD id, .... FROM OldTable.qvd (qvd);&lt;/P&gt;&lt;P&gt;// add only records, for which the id is not known&lt;/P&gt;&lt;P&gt;CONCATENATE id, .... FROM NewTable .... WHERE NOT EXISTS(id);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE DATA into OldTable.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 09:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757246#M269526</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2015-02-06T09:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help on Script</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757247#M269527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Use this code for incremental load (insert only)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maxdate:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATIME&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;..\Data\tablename.qvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RESDENT:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;DATIME as ModDate&lt;/P&gt;&lt;P&gt;Resident &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Maxdate &lt;/SPAN&gt;order by DATIME Desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let MaxTimeStamp=Peek('ModDate',0);&lt;/P&gt;&lt;P&gt;Let MaxTIMESTAMP=Timestamp($(#MaxTimeStamp),'YYYY-MM-DD-hh.mm.ss.ffffff'); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table RESIDENT,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Maxdate&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL SELECT * FROM&amp;nbsp; tablename WHERE DATIME &amp;gt; '$(MaxTIMESTAMP)';&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE &lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;E:\Qlikview\Data\RawQVD\tablename.qvd(qvd) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE TableINTO E:\Qlikview\Data\\tablename.qvd(qvd) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 09:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757247#M269527</guid>
      <dc:creator />
      <dc:date>2015-02-06T09:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load Help on Script</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757248#M269528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For Update &lt;/P&gt;&lt;P&gt;use in where Clause =====&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; WHERE NOT EXISTS(&amp;nbsp; KEY);&lt;/SPAN&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;and for Delete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner join with the KEY from Database to updated QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 09:13:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Help-on-Script/m-p/757248#M269528</guid>
      <dc:creator />
      <dc:date>2015-02-06T09:13:07Z</dc:date>
    </item>
  </channel>
</rss>

