<?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 INSERT and UPDATE issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/INSERT-and-UPDATE-issue/m-p/1033395#M939505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV11 SR4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any idea why this isn't working?&amp;nbsp; I'm trying to do an INSERT and UPDATE and then store the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first LOAD consists of 28 records and the second LOAD (QVD) about 500 but after loading the stored QVD only contains the 28 records from the first LOAD statement.&amp;nbsp; None of the records from the QVD LOAD that do not exist in the first load seem to get added?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what i'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load latest matching data&lt;/P&gt;&lt;P&gt;MatchedCMS:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //CMS Users&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Matched&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //as [MIMS Learning Binley Matched on UserID?]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;H&gt;&lt;/H&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where Len(UserID)&amp;gt;0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Existing users only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//add previously stored data but exclude any that exist in the latest file (may have been updated)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Matched&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;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;T&gt;&lt;/T&gt;&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;Where not exists (UserID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//store resultant data to new QVD file for next month comparison&lt;/P&gt;&lt;P&gt;STORE MatchedCMS INTO $(vQVDPath)BinleysMatchedCMS.qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 16:54:16 GMT</pubDate>
    <dc:creator>haymarketpaul</dc:creator>
    <dc:date>2016-02-02T16:54:16Z</dc:date>
    <item>
      <title>INSERT and UPDATE issue</title>
      <link>https://community.qlik.com/t5/QlikView/INSERT-and-UPDATE-issue/m-p/1033395#M939505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV11 SR4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any idea why this isn't working?&amp;nbsp; I'm trying to do an INSERT and UPDATE and then store the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first LOAD consists of 28 records and the second LOAD (QVD) about 500 but after loading the stored QVD only contains the 28 records from the first LOAD statement.&amp;nbsp; None of the records from the QVD LOAD that do not exist in the first load seem to get added?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what i'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load latest matching data&lt;/P&gt;&lt;P&gt;MatchedCMS:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //CMS Users&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Matched&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //as [MIMS Learning Binley Matched on UserID?]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;H&gt;&lt;/H&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where Len(UserID)&amp;gt;0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Existing users only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//add previously stored data but exclude any that exist in the latest file (may have been updated)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Matched&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;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;T&gt;&lt;/T&gt;&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;Where not exists (UserID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//store resultant data to new QVD file for next month comparison&lt;/P&gt;&lt;P&gt;STORE MatchedCMS INTO $(vQVDPath)BinleysMatchedCMS.qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 16:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INSERT-and-UPDATE-issue/m-p/1033395#M939505</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2016-02-02T16:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT and UPDATE issue</title>
      <link>https://community.qlik.com/t5/QlikView/INSERT-and-UPDATE-issue/m-p/1033396#M939506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have another table in your data model that also contains a field named UserID? If so then that table probably contains the UserID values you would like to load from the qvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 18:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INSERT-and-UPDATE-issue/m-p/1033396#M939506</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-02T18:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT and UPDATE issue</title>
      <link>https://community.qlik.com/t5/QlikView/INSERT-and-UPDATE-issue/m-p/1033397#M939507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply - yes i've independently tested the above and on its own works fine so as you say the issue seems to be elsewhere.&amp;nbsp; I'll have a play around today and so what i can do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 09:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INSERT-and-UPDATE-issue/m-p/1033397#M939507</guid>
      <dc:creator>haymarketpaul</dc:creator>
      <dc:date>2016-02-03T09:33:41Z</dc:date>
    </item>
  </channel>
</rss>

