<?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: Append single source table into permanent table (i.e. add rows) in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Append-single-source-table-into-permanent-table-i-e-add-rows/m-p/316150#M21304</link>
    <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;Thank you, that PROC APPEND function worked.&amp;nbsp; I used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc append base=PERMANENT.SNAPSHOT_ALL data=WORK.SNAPSHOT_CURRENT;

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 02 Dec 2016 05:47:38 GMT</pubDate>
    <dc:creator>David_T</dc:creator>
    <dc:date>2016-12-02T05:47:38Z</dc:date>
    <item>
      <title>Append single source table into permanent table (i.e. add rows)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Append-single-source-table-into-permanent-table-i-e-add-rows/m-p/316145#M21302</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In SAS Enterprise Guide (7.1), I have a temporary current snapshot data table that I want to append into a permanent table.&amp;nbsp; The permanent table would then hold multiple snapshots of the data and keep that history.&amp;nbsp; The columns between the two tables are exactly the same.&amp;nbsp; The permanent table has already been created and the initial data set has been loaded, now I want to add a new snapshot to the permanent table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attempted to use the 'Append Table' task (from one WORK table), but it overwrites the data in&amp;nbsp;the permanent table rather than adding new rows to it.&amp;nbsp; There is just one source temporary table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is an example of some code I have attempted to use, but it isn't complete and doesn't work.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA PERMANENT.SNAPSHOT_ALL;
SET WORK.SNAPSHOT_CURRENT;
RUN&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Dec 2016 05:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Append-single-source-table-into-permanent-table-i-e-add-rows/m-p/316145#M21302</guid>
      <dc:creator>David_T</dc:creator>
      <dc:date>2016-12-02T05:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Append single source table into permanent table (i.e. add rows)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Append-single-source-table-into-permanent-table-i-e-add-rows/m-p/316148#M21303</link>
      <description>&lt;P&gt;Append is the correct task for this. Can you post a snapshot of your settings that didn't work?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc appemd base=permanent.snapshot_all data=snapshot.curremt;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 05:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Append-single-source-table-into-permanent-table-i-e-add-rows/m-p/316148#M21303</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-02T05:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Append single source table into permanent table (i.e. add rows)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Append-single-source-table-into-permanent-table-i-e-add-rows/m-p/316150#M21304</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;Thank you, that PROC APPEND function worked.&amp;nbsp; I used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc append base=PERMANENT.SNAPSHOT_ALL data=WORK.SNAPSHOT_CURRENT;

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Dec 2016 05:47:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Append-single-source-table-into-permanent-table-i-e-add-rows/m-p/316150#M21304</guid>
      <dc:creator>David_T</dc:creator>
      <dc:date>2016-12-02T05:47:38Z</dc:date>
    </item>
  </channel>
</rss>

