<?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 merging ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/138019#M261307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Data A ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Input a b;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; .9&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; .8&lt;/P&gt;&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; .3&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Data b&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Input c;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Input a;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;1.9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;4.7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;8.8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Merge them to have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;1.9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .9&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .8&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;4.7&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;8.8&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2014 20:45:35 GMT</pubDate>
    <dc:creator>desireatem</dc:creator>
    <dc:date>2014-01-10T20:45:35Z</dc:date>
    <item>
      <title>merging ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/138019#M261307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Data A ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Input a b;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; .9&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; .8&lt;/P&gt;&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; .3&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Data b&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Input c;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Input a;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;1.9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;4.7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;8.8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Merge them to have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;1.9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .9&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .8&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;4.7&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;8.8&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Georgia','serif'; color: black;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: .25in;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 20:45:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/138019#M261307</guid>
      <dc:creator>desireatem</dc:creator>
      <dc:date>2014-01-10T20:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: merging ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/138020#M261308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use MERGE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;Data A ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;&amp;nbsp; Input a b;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;Cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; .9&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; .8&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; .3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: black; font-family: Georgia, serif; font-size: 10.5pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Data b;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: black; font-family: Georgia, serif; font-size: 10.5pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Georgia, serif; font-size: 10.5pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Input a;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: black; font-family: Georgia, serif; font-size: 10.5pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;1.9&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;4.7&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;8.8&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="color: black; font-size: 10.5pt; font-style: inherit; font-family: Georgia, serif;"&gt;data c;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="color: black; font-size: 10.5pt; font-style: inherit; font-family: Georgia, serif;"&gt;&amp;nbsp; merge a b;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="color: black; font-size: 10.5pt; font-style: inherit; font-family: Georgia, serif;"&gt;&amp;nbsp; by a ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.5pt; font-family: Georgia, serif; color: black;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 21:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/138020#M261308</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-01-10T21:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: merging ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging/m-p/138021#M261309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively by&amp;nbsp; SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CREATE TABLE want AS &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SELECT coalesce(t2.a,t1.a) AS a, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t1.b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM WORK.A t1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FULL JOIN WORK.B t2 ON (t1.a = t2.a);&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2014 09:18:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging/m-p/138021#M261309</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2014-01-12T09:18:58Z</dc:date>
    </item>
  </channel>
</rss>

