<?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 merge two tables with same columns? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-two-tables-with-same-columns/m-p/872598#M344736</link>
    <description>&lt;P&gt;Could you post a little example data?&amp;nbsp; So a dataset of 10 records with 3 variables, and a dataset with 5 records and 2 variables, and then show what you would want as a result of applying the updates?&amp;nbsp; Please post the data as DATA steps with the CARDS statement, so that people can run the code to create the example data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to look into the UPDATE statement, and see if that will do what you're looking for.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2023 15:55:19 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2023-04-27T15:55:19Z</dc:date>
    <item>
      <title>How to merge two tables with same columns?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-two-tables-with-same-columns/m-p/872594#M344733</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have two data sets; set A is a large one with over 1000 columns, and set B is a small one with only 10 obs and 5 columns.&amp;nbsp; A and B have the same ID columns; in addition, all the five variables in Set B are from set A with updated values (numeric).&amp;nbsp; I would like to update set A with set B value with the same IDs.&amp;nbsp; That's why I think about merging two datasets.&amp;nbsp; Please let me know how to approach it, thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 15:40:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-merge-two-tables-with-same-columns/m-p/872594#M344733</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2023-04-27T15:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge two tables with same columns?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-two-tables-with-same-columns/m-p/872598#M344736</link>
      <description>&lt;P&gt;Could you post a little example data?&amp;nbsp; So a dataset of 10 records with 3 variables, and a dataset with 5 records and 2 variables, and then show what you would want as a result of applying the updates?&amp;nbsp; Please post the data as DATA steps with the CARDS statement, so that people can run the code to create the example data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to look into the UPDATE statement, and see if that will do what you're looking for.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 15:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-merge-two-tables-with-same-columns/m-p/872598#M344736</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-04-27T15:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge two tables with same columns?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-two-tables-with-same-columns/m-p/872599#M344737</link>
      <description>I think I used update before but forgot how.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Apr 2023 15:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-merge-two-tables-with-same-columns/m-p/872599#M344737</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2023-04-27T15:56:49Z</dc:date>
    </item>
  </channel>
</rss>

