<?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: Replace data in a table in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-data-in-a-table/m-p/549830#M33408</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Tom - I need to stop thinking things are more complicated than they are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2019 02:16:46 GMT</pubDate>
    <dc:creator>DME790</dc:creator>
    <dc:date>2019-04-10T02:16:46Z</dc:date>
    <item>
      <title>Replace data in a table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-data-in-a-table/m-p/549828#M33406</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a daily file that holds all historical data which I use to replace the data in a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following code that appends data to a table but how do I use a data step to replace all the data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Step used to append data&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data worklib.OriginalData;
	Set worklib.OriginalData
WORK.appenddata
;
Run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 01:40:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-data-in-a-table/m-p/549828#M33406</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2019-04-10T01:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replace data in a table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-data-in-a-table/m-p/549829#M33407</link>
      <description>&lt;P&gt;Not sure what you question is since you appear to already know how to REPLACE that dataset.&lt;/P&gt;
&lt;P&gt;Your current program is replacing the dataset with the data from current dataset AND the data from another dataset.&lt;/P&gt;
&lt;P&gt;If you just want to replace it with another dataset then don't include the current dataset in the SET statement.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 02:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-data-in-a-table/m-p/549829#M33407</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-04-10T02:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replace data in a table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-data-in-a-table/m-p/549830#M33408</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Tom - I need to stop thinking things are more complicated than they are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 02:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-data-in-a-table/m-p/549830#M33408</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2019-04-10T02:16:46Z</dc:date>
    </item>
  </channel>
</rss>

