<?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 Check During Incremental Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559321#M687524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/3931"&gt;Michael Solomovich&lt;/A&gt; and &lt;A href="https://community.qlik.com/qlik-users/63925"&gt;dathu.qv&lt;/A&gt; are right: MS SQL Server generally interprets the expanded value correctly as a date without the need for any functions. However, you DO need the single quotes around it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Dec 2013 17:02:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-14T17:02:27Z</dc:date>
    <item>
      <title>Date Check During Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559314#M687517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on incremental load but i am facing a issue during the date check to load the fresh records.When i put the condition&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Where&amp;nbsp; Modification Time &amp;gt;= LastExecTime" &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am able to capture the lastExecTime from the alredy loaded qvd and it is comming in MM-DD-YYYY format. But i am not able to match the above condition because of some format issue with the two dates.&lt;/P&gt;&lt;P&gt;Can you suggest some functions or some other solution which i should use with the field having the Modification time.I have already used Date function with MM-DD-YYYY format but it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 11:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559314#M687517</guid>
      <dc:creator />
      <dc:date>2013-12-11T11:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date Check During Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559315#M687518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronny, The variable holds the value in string format. So you need to convert the variable value into desired date field format.&lt;/P&gt;&lt;P&gt;If DB is oracle:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"Where&amp;nbsp; Modification Time &amp;gt;= TO_DATE('$(LastExecTime)','MM-DD-YYYY')"&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 13:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559315#M687518</guid>
      <dc:creator />
      <dc:date>2013-12-11T13:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date Check During Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559316#M687519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dathu&lt;/P&gt;&lt;P&gt;Thanks for your response.My DB is SQL, can you suggest some function which can be used with the variable&amp;nbsp; when working with SQL DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 05:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559316#M687519</guid>
      <dc:creator />
      <dc:date>2013-12-12T05:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date Check During Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559317#M687520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronny, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Where&amp;nbsp; Modification Time &amp;gt;= CONVERT(VARCHAR(10), '$(LastExecTime)', 110)"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed your database is MS SQL Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 07:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559317#M687520</guid>
      <dc:creator />
      <dc:date>2013-12-12T07:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date Check During Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559318#M687521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For SQL Server you can use chr(39) to surround your value:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Let &lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;vLoadTime &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(39) &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Date(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Now&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(),'M/D/YYYY h:mm:ss[.fff] TT') &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(39); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and then simply refer to the variables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where lst_mod_ts &amp;gt;= &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;$(vLastLoadTime)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;and lst_mod_ts &amp;lt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;$(vLoadTime)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 21:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559318#M687521</guid>
      <dc:creator />
      <dc:date>2013-12-12T21:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date Check During Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559319#M687522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is simpler in MS SQL.&amp;nbsp; This always works for me:&lt;/P&gt;&lt;P&gt;Where&amp;nbsp; Modification Time &amp;gt;= '$(LastExecTime)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 21:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559319#M687522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-12T21:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date Check During Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559320#M687523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your DB is Oracle you can use TO_DATE or TO_TIMESTAMP functions to convert the strings into date formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your DB SQL Server you dont need any function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 02:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559320#M687523</guid>
      <dc:creator />
      <dc:date>2013-12-13T02:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date Check During Incremental Load</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559321#M687524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/3931"&gt;Michael Solomovich&lt;/A&gt; and &lt;A href="https://community.qlik.com/qlik-users/63925"&gt;dathu.qv&lt;/A&gt; are right: MS SQL Server generally interprets the expanded value correctly as a date without the need for any functions. However, you DO need the single quotes around it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 17:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Check-During-Incremental-Load/m-p/559321#M687524</guid>
      <dc:creator />
      <dc:date>2013-12-14T17:02:27Z</dc:date>
    </item>
  </channel>
</rss>

