<?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: How to Retain Old Data and Add New in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Retain-Old-Data-and-Add-New/m-p/634495#M188315</link>
    <description>Thank you!</description>
    <pubDate>Tue, 24 Mar 2020 17:11:50 GMT</pubDate>
    <dc:creator>ghildebrand</dc:creator>
    <dc:date>2020-03-24T17:11:50Z</dc:date>
    <item>
      <title>How to Retain Old Data and Add New</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Retain-Old-Data-and-Add-New/m-p/634487#M188313</link>
      <description>&lt;P&gt;I'm using a database where the current tables only hold 6 months of data before moving to an archive table. I'm pulling from a current table, and would like to keep the older data while adding new data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the current table holds data from 9/24/19 to 3/24/20. I'd like to pull all of that today. When I pull the data again on 4/24/20, I'd like to have all the data from 9/24/19 to 4/24/20. What is the best way to keep the old data that I've already pulled, and add the current/new data from the current table?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 16:54:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Retain-Old-Data-and-Add-New/m-p/634487#M188313</guid>
      <dc:creator>ghildebrand</dc:creator>
      <dc:date>2020-03-24T16:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Retain Old Data and Add New</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Retain-Old-Data-and-Add-New/m-p/634492#M188314</link>
      <description>&lt;P&gt;It would probably&amp;nbsp; be&amp;nbsp; best to keep&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;the data in a partitioned form.&amp;nbsp; &amp;nbsp;I.e . You would have a different&amp;nbsp; physical table per month.&amp;nbsp; &amp;nbsp;This allows you to drop the oldest each month without touching the&amp;nbsp; other 11 months.&amp;nbsp; &amp;nbsp;Then create new table as an extract of the last month.&amp;nbsp; &amp;nbsp;Alternatively,&amp;nbsp; you can keep a copy of the last 6 months of the archive in monthly&amp;nbsp; parts&amp;nbsp; and append them to a current extract of the active data.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:06:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Retain-Old-Data-and-Add-New/m-p/634492#M188314</guid>
      <dc:creator>DavePrinsloo</dc:creator>
      <dc:date>2020-03-24T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Retain Old Data and Add New</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Retain-Old-Data-and-Add-New/m-p/634495#M188315</link>
      <description>Thank you!</description>
      <pubDate>Tue, 24 Mar 2020 17:11:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Retain-Old-Data-and-Add-New/m-p/634495#M188315</guid>
      <dc:creator>ghildebrand</dc:creator>
      <dc:date>2020-03-24T17:11:50Z</dc:date>
    </item>
  </channel>
</rss>

