<?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: Incremental Load :  Delete &amp; Update in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363077#M417523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Delete side of the incremental is not "as incremental" as other modes, because you need to fetch all the records anyway in order to determine what has been deleted -- unless the deletes can be assumed to be limited - for example: only current month records can be deleted. Or track deletes in an audit trail table in the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 06:51:12 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2017-07-25T06:51:12Z</dc:date>
    <item>
      <title>Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363072#M417518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to implement Incremental Load for delete &amp;amp; update data fectching from Oracle, below the script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is the correct one, but the load is taking long time sometimes it completes at 15mins ssometime it takes more than 2 hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help on this as it's really urgent for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxDate:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Year(Max(LAST_UPDATE_DATE)) - 2&amp;nbsp; as Date,&lt;/P&gt;&lt;P&gt;Year(Max(LAST_UPDATE_DATE)) - 1&amp;nbsp; as Year2 &lt;/P&gt;&lt;P&gt;FROM "C:\Qlikview\[XYZ].QVD"&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vSunMaxYear = Peek('Date');&lt;/P&gt;&lt;P&gt;Let vNotSunMaxYear = Peek('Year2');&lt;/P&gt;&lt;P&gt;Drop Table MaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If WeekDay(Today()) = 'Sunday' THEN&lt;/P&gt;&lt;P&gt;SundayData:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; * &lt;/P&gt;&lt;P&gt;Where&amp;nbsp; Year(LAST_UPDATE_DATE ) &amp;gt;= $(vSunMaxYear); &lt;/P&gt;&lt;P&gt;SQL SELECT * &lt;/P&gt;&lt;P&gt;FROM "ABC"."&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;";&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;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;"C:\Qlikview\[&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;].QVD"&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;WHERE Year(LAST_UPDATE_DATE )&amp;lt; $(vSunMaxYear);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE SundayData INTO $(vSales_Raw_Extractor)\[&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;].QVD(qvd);&lt;/P&gt;&lt;P&gt;DROP Table SundayData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NotSundayData:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; * &lt;/P&gt;&lt;P&gt;Where&amp;nbsp; Year(LAST_UPDATE_DATE )&amp;gt;= $(vNotSunMaxYear);&lt;/P&gt;&lt;P&gt;SQL SELECT * &lt;/P&gt;&lt;P&gt;FROM "ABC"."&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;";&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;LOAD * FROM&lt;/P&gt;&lt;P&gt;"C:\Qlikview\[&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;].QVD"&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;WHERE Year(LAST_UPDATE_DATE )&amp;lt; $(vNotSunMaxYear);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE NotSundayData INTO $(vSales_Raw_Extractor)\[&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;].QVD(qvd);&lt;/P&gt;&lt;P&gt;DROP Table NotSundayData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363072#M417518</guid>
      <dc:creator>renuka_sasikumar</dc:creator>
      <dc:date>2017-07-25T06:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363073#M417519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think whether there is any performance issue for below script. Can you share whole script if anything hidden &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363073#M417519</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-25T06:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363074#M417520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you aware that this structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;SundayData:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD&amp;nbsp; *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Where&amp;nbsp; Year(LAST_UPDATE_DATE ) &amp;gt;= $(vSunMaxYear);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM "ABC"."&lt;SPAN style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;XYZ&lt;/SPAN&gt;";&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;fetches every record from the database and then filters the records in QV, You might want to move the Where to the SQL SELECT, and convert it to SQL syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363074#M417520</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-07-25T06:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363075#M417521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renuka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to create a separate table for max date and pick max date from that table so it will improve some level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arvind Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363075#M417521</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2017-07-25T06:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363076#M417522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I want to do Where clause in SQL Syntax, I tried using CAST(&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;LAST_UPDATE_DATE &lt;/EM&gt;as date) but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am fetching Data from Oracle. It would be helpful if you can help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363076#M417522</guid>
      <dc:creator>renuka_sasikumar</dc:creator>
      <dc:date>2017-07-25T06:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363077#M417523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Delete side of the incremental is not "as incremental" as other modes, because you need to fetch all the records anyway in order to determine what has been deleted -- unless the deletes can be assumed to be limited - for example: only current month records can be deleted. Or track deletes in an audit trail table in the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363077#M417523</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-07-25T06:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363078#M417524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No hidden Script, I have just changed the Table Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363078#M417524</guid>
      <dc:creator>renuka_sasikumar</dc:creator>
      <dc:date>2017-07-25T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363079#M417525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use something like below in SELECT statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATEPART(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LAST_UPDATE_DATE, 'YY') &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;gt;= Variable;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363079#M417525</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-25T06:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363080#M417526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with the Script which I can replace with this as per the conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Sunday=3yrs,1yrs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363080#M417526</guid>
      <dc:creator>renuka_sasikumar</dc:creator>
      <dc:date>2017-07-25T07:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363081#M417527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with script which will be useful to me where I can reduce my load time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363081#M417527</guid>
      <dc:creator>renuka_sasikumar</dc:creator>
      <dc:date>2017-07-25T07:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363082#M417528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cant help with Oracle code - I have not had much need for it in the places I work. Perhaps someone else can help here, or go to the Oracle community site for more help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 13:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363082#M417528</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-07-26T13:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load :  Delete &amp; Update</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363083#M417529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, I got the answer for this. Below is the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MaxDate:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year(Max(LAST_UPDATE_DATE)) - 2&amp;nbsp; as Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year(Max(LAST_UPDATE_DATE)) - 1&amp;nbsp; as Year2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "C:\Qlikview\[XYZ].QVD"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vSunMaxYear = Peek('Date');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vNotSunMaxYear = Peek('Year2');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Table MaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If WeekDay(Today()) = 'Sunday' THEN&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SundayData:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "ABC"."&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;XYZ&lt;/SPAN&gt;"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where To_number(To_Char("LAST_UPDATE_DATE",'YYYY'),'9999')&amp;gt;=$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vSunMaxYear&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"C:\Qlikview\[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;XYZ&lt;/SPAN&gt;].QVD"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE Year(LAST_UPDATE_DATE )&amp;lt; $(vSunMaxYear);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE SundayData INTO $(vSales_Raw_Extractor)\[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;XYZ&lt;/SPAN&gt;].QVD(qvd);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table SundayData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ELSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NotSundayData:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "ABC"."&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;XYZ&lt;/SPAN&gt;"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;where To_number(To_Char("LAST_UPDATE_DATE",'YYYY'),'9999')&amp;gt;=$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vNotSunMaxYear&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"C:\Qlikview\[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;XYZ&lt;/SPAN&gt;].QVD"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE Year(LAST_UPDATE_DATE )&amp;lt; $(vNotSunMaxYear);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE NotSundayData INTO $(vSales_Raw_Extractor)\[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;XYZ&lt;/SPAN&gt;].QVD(qvd);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table NotSundayData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 08:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-Load-Delete-Update/m-p/1363083#M417529</guid>
      <dc:creator>renuka_sasikumar</dc:creator>
      <dc:date>2017-07-27T08:17:25Z</dc:date>
    </item>
  </channel>
</rss>

