<?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: can we use dateadd and datediff functions in a LOAD statement? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351248#M130237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;getdate can be replaced with &lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13424157145587496" jivemacro_uid="_13424157145587496"&gt;&lt;P&gt;today()&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transaction_date between date1 and date2 can be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13424157218479777" jivemacro_uid="_13424157218479777"&gt;&lt;P&gt;transaction_date &amp;gt; date1 and transaction_date &amp;lt; date2&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran Rokkam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2012 05:15:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-16T05:15:18Z</dc:date>
    <item>
      <title>can we use dateadd and datediff functions in a LOAD statement?</title>
      <link>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351245#M130234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;i have an sql statement which i have to convert to load statement. in my sql statement i have between, dateadd and datediff functions. how can i use it in load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 04:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351245#M130234</guid>
      <dc:creator>archana_g</dc:creator>
      <dc:date>2012-07-16T04:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: can we use dateadd and datediff functions in a LOAD statement?</title>
      <link>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351246#M130235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Archana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are executing the code after SQL statement, no change is required (just to ensure i get it right).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For using inside load, datediff(a,b) can be replaced with a-b (or b-a) appropriatly. All data transfomations in QV can be treated as numeric transformations hence arthemetic operations hold good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran Rokkam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 04:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351246#M130235</guid>
      <dc:creator />
      <dc:date>2012-07-16T04:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: can we use dateadd and datediff functions in a LOAD statement?</title>
      <link>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351247#M130236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;But for the 'between' function and 'getdate' function what can i use in the load statement.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 05:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351247#M130236</guid>
      <dc:creator>archana_g</dc:creator>
      <dc:date>2012-07-16T05:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: can we use dateadd and datediff functions in a LOAD statement?</title>
      <link>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351248#M130237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;getdate can be replaced with &lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13424157145587496" jivemacro_uid="_13424157145587496"&gt;&lt;P&gt;today()&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transaction_date between date1 and date2 can be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13424157218479777" jivemacro_uid="_13424157218479777"&gt;&lt;P&gt;transaction_date &amp;gt; date1 and transaction_date &amp;lt; date2&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran Rokkam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 05:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351248#M130237</guid>
      <dc:creator />
      <dc:date>2012-07-16T05:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: can we use dateadd and datediff functions in a LOAD statement?</title>
      <link>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351249#M130238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using BETWEEN in a join, QlikView does not have the ability to join result sets (tables) on anything except named columns matching exact values.&lt;/P&gt;&lt;P&gt;The exception is IntervalMatch, which is probabaly what you want to use. Search this forum for IntervalMatch Example to see some good examples of how to use it. My favorite is here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/159315#159315"&gt;http://community.qlik.com/message/159315#159315&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 17:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/can-we-use-dateadd-and-datediff-functions-in-a-LOAD-statement/m-p/351249#M130238</guid>
      <dc:creator />
      <dc:date>2012-08-06T17:18:35Z</dc:date>
    </item>
  </channel>
</rss>

