<?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: Date problem in Where clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341416#M620133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use single quotes around your variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate (Stamtabel)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident TopDesk_Wijzigingen &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Where num([Datum aanmaak]) &amp;gt; &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;$(vAanmaaktijd)&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Apr 2017 13:46:27 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-04-19T13:46:27Z</dc:date>
    <item>
      <title>Date problem in Where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341414#M620131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While trying to work out incremental load on a QVD, I ran into the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I created a QVD file with all records. Then I do a database read and store the result in a resident table. To concatenate new records into my QVD, I do a where clause on the resident table, finding records which have been added since last QVD creation time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I read the creation time into a variable, like this (and this works fine):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Let&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vAanmaaktijd&lt;/EM&gt;&lt;/STRONG&gt; = &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;QvdCreateTime&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;('$(vQVDfolder)TopDesk\QVD TopDesk Versionated.qvd'));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The contence of $(vAaanmaaktijd) = &lt;/SPAN&gt;&lt;/SPAN&gt;42844,561724537 &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;After the database load I try to do the following:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Nieuwe_records:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Concatenate&lt;/SPAN&gt; (Stamtabel) &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; * &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; TopDesk_Wijzigingen &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Datum aanmaak]&lt;/SPAN&gt;) &amp;gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(vAanmaaktijd)&lt;/EM&gt;&lt;/STRONG&gt;;&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;Drop&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; Nieuwe_records; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;When reloading I get the following error message:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt; font-family: courier new,courier;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/160510_pastedImage_5.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;What am I doing wrong? the field Datum aanmaak (creation date) is in format DD-MM-YYYY hh:mm:ss&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341414#M620131</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-04-19T13:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date problem in Where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341415#M620132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier; color: #0000ff;"&gt;Try with single quotes&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier; color: #0000ff;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier; color: #0000ff;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier; color: #800000;"&gt;[Datum aanmaak]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13.3333px;"&gt;) &amp;gt; '&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'courier new', courier; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit; color: #808080;"&gt;$(vAanmaaktijd)' &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341415#M620132</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-04-19T13:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Date problem in Where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341416#M620133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use single quotes around your variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate (Stamtabel)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident TopDesk_Wijzigingen &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Where num([Datum aanmaak]) &amp;gt; &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;$(vAanmaaktijd)&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341416#M620133</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-19T13:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date problem in Where clause</title>
      <link>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341417#M620134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were of course BOTH right!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx guys!! You really helped me out!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-problem-in-Where-clause/m-p/1341417#M620134</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-04-19T13:59:36Z</dc:date>
    </item>
  </channel>
</rss>

