<?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 with removing 10 days of data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642932#M191858</link>
    <description>&lt;P&gt;Hi Daryl,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached here the sample data. Have1 has data till 25th April 2020 and Have2 has data till 26th April i.e today and the data gets updated on a daily basis. There are chances that the last 5 days data can be modified so always while loading data I need to delete the last 5 days of data or overwrite. This how I need to set up incremental.&lt;/P&gt;
&lt;P&gt;In data Have2 marked few rows as edited.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;</description>
    <pubDate>Sat, 25 Apr 2020 19:03:29 GMT</pubDate>
    <dc:creator>Rahul_SAS</dc:creator>
    <dc:date>2020-04-25T19:03:29Z</dc:date>
    <item>
      <title>Incremental load with removing 10 days of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642738#M191785</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to automate my report, I completed all ETL precess and created a final table. Now I have to load to CAS with an incremental load. Using SQL Server as data source.&lt;/P&gt;
&lt;P&gt;Can anyone help me to provide an efficient sample code that loads the table on a daily basis by remove the last 10 days of data and load it again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 18:20:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642738#M191785</guid>
      <dc:creator>Rahul_SAS</dc:creator>
      <dc:date>2020-04-24T18:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load with removing 10 days of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642823#M191817</link>
      <description>Rahul,&lt;BR /&gt;Can you give a more concrete example with a sample table please?&lt;BR /&gt;Daryl</description>
      <pubDate>Sat, 25 Apr 2020 02:13:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642823#M191817</guid>
      <dc:creator>Daryl</dc:creator>
      <dc:date>2020-04-25T02:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load with removing 10 days of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642932#M191858</link>
      <description>&lt;P&gt;Hi Daryl,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached here the sample data. Have1 has data till 25th April 2020 and Have2 has data till 26th April i.e today and the data gets updated on a daily basis. There are chances that the last 5 days data can be modified so always while loading data I need to delete the last 5 days of data or overwrite. This how I need to set up incremental.&lt;/P&gt;
&lt;P&gt;In data Have2 marked few rows as edited.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 19:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642932#M191858</guid>
      <dc:creator>Rahul_SAS</dc:creator>
      <dc:date>2020-04-25T19:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load with removing 10 days of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642933#M191859</link>
      <description>&lt;P&gt;Hi Daryl,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached here the sample data. Have1 has data till 25th April 2020 and Have2 has data till 26th April i.e today and the data gets updated on a daily basis. There are chances that the last 5 days data can be modified so always while loading data I need to delete the last 5 days of data or overwrite. This how I need to set up incremental.&lt;/P&gt;
&lt;P&gt;In data Have2 marked few rows as edited.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 19:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/642933#M191859</guid>
      <dc:creator>Rahul_SAS</dc:creator>
      <dc:date>2020-04-25T19:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load with removing 10 days of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/643705#M192153</link>
      <description>&lt;P&gt;So HAVE1 is what is loaded as of April 25. You want to drop the last 10 days of data from HAVE1 and insert the last 11 days (10 prior days, plus April 26 data) from the incremental set?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 19:35:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Incremental-load-with-removing-10-days-of-data/m-p/643705#M192153</guid>
      <dc:creator>Daryl</dc:creator>
      <dc:date>2020-04-28T19:35:02Z</dc:date>
    </item>
  </channel>
</rss>

