<?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 Time based Load from Oracle DB Query? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210903#M65321</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;I am new to QV and was really looking forward to know how we could control the data with the date restriction while creating QVDs from Oracle DB? I have more than 5 years of data sitting in the DB, but my client wants only the current year - 2 years data (2009, 2010, Current Year) how to write a load function? and moreover what do you guys think is the best practise for creating QVDs and maintaining for this kind of project? I could do a hard code and define select * from Table WHERE Date &amp;gt;= 2009, however if I do this, what happens when the year changes?? Please suggest me&lt;/P&gt;&lt;P&gt;Thanks for your help guys.&lt;/P&gt;&lt;P&gt;ANDY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Feb 2011 16:05:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-10T16:05:56Z</dc:date>
    <item>
      <title>Time based Load from Oracle DB Query?</title>
      <link>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210903#M65321</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;I am new to QV and was really looking forward to know how we could control the data with the date restriction while creating QVDs from Oracle DB? I have more than 5 years of data sitting in the DB, but my client wants only the current year - 2 years data (2009, 2010, Current Year) how to write a load function? and moreover what do you guys think is the best practise for creating QVDs and maintaining for this kind of project? I could do a hard code and define select * from Table WHERE Date &amp;gt;= 2009, however if I do this, what happens when the year changes?? Please suggest me&lt;/P&gt;&lt;P&gt;Thanks for your help guys.&lt;/P&gt;&lt;P&gt;ANDY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 16:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210903#M65321</guid>
      <dc:creator />
      <dc:date>2011-02-10T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Time based Load from Oracle DB Query?</title>
      <link>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210904#M65322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;Any takers please? I can see there are a lot of experienced people around here...and was just thinking if anyone of you is working with Oracle DBs and Loading data with Time restrictions?&lt;/P&gt;&lt;P&gt;ANDY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 16:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210904#M65322</guid>
      <dc:creator />
      <dc:date>2011-02-10T16:40:00Z</dc:date>
    </item>
    <item>
      <title>Time based Load from Oracle DB Query?</title>
      <link>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210905#M65323</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 used to load QVDs with time restriction but don't any more. I have however this code that might be usefull for you in your QVDs: where ... and "COMMENT_DATE"&amp;gt;=to_date('2009-01-01','yyyy-mm-dd'); (replace "COMMENT_DATE" with your date name)&lt;/P&gt;&lt;P&gt;If your customer always only want the current year + the previous two (so in 2012 they want 2012, 2011, 2010) then you need to do some sort of delete 2009 from you QVDs and that I have never done.&lt;/P&gt;&lt;P&gt;Maybe they could live with having 2009 -&amp;gt; in the QVDs and then in your QVW you could stipulate Load ... resident QVD where "COMMENT_DATE"&amp;gt;= today(0)-some days. The problem here is that some days in order for you not to limit to much has to be 3 years. You could maybe do some sort of where num(Year("COMMENT_DATE"))&amp;gt;=today-3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 10:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210905#M65323</guid>
      <dc:creator />
      <dc:date>2011-02-11T10:22:28Z</dc:date>
    </item>
    <item>
      <title>Time based Load from Oracle DB Query?</title>
      <link>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210906#M65324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for the reply, Even I was thinking of the same solution, in the sense, I will have data since 2009 in QVDs, however I should pickup the data only from 2010 in QVW for the coming year and then write something like CurrentYear()-2 so that it shouldnt be done manually everytime.... But was thinking if we can really do this....and if we did how it will be....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 12:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210906#M65324</guid>
      <dc:creator />
      <dc:date>2011-02-11T12:34:01Z</dc:date>
    </item>
    <item>
      <title>Time based Load from Oracle DB Query?</title>
      <link>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210907#M65325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested this and is works for the QVW&lt;/P&gt;&lt;P&gt;where (num(year(Date))&amp;gt;=num(year(today(0)))-2);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 14:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-based-Load-from-Oracle-DB-Query/m-p/210907#M65325</guid>
      <dc:creator />
      <dc:date>2011-02-11T14:02:07Z</dc:date>
    </item>
  </channel>
</rss>

