<?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: merge with case insensitive in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/merge-with-case-insensitive/m-p/261407#M50873</link>
    <description>Sorry, to my knowledge there is nothing in SAS that corresponds to case insensitive matching found in other databases. You need to upper/lowercase your data prior to the merge.&lt;BR /&gt;If you would use SQL instead you could do in the same step in the where/on statement.</description>
    <pubDate>Tue, 05 Apr 2016 14:35:41 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-04-05T14:35:41Z</dc:date>
    <item>
      <title>merge with case insensitive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merge-with-case-insensitive/m-p/261401#M50871</link>
      <description>&lt;P&gt;Hi, Do we have any option that can be used in merge statement to match result without checking if value is in lower or upper case. ex:- Bob in one dataset (test1)&amp;nbsp;should match with bob (test2) in another dataset without making any chnage in original dataset (upcase or lowercase).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data test;&lt;/P&gt;
&lt;P&gt;merge test1 test2;&lt;/P&gt;
&lt;P&gt;by name;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We can change to upper or lower case in test1 and test2 by upcase or lowercase but just want to know if there is any oprtion can be used that ignore case sensitive while match merge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 14:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merge-with-case-insensitive/m-p/261401#M50871</guid>
      <dc:creator>nkm123</dc:creator>
      <dc:date>2016-04-05T14:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: merge with case insensitive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merge-with-case-insensitive/m-p/261407#M50873</link>
      <description>Sorry, to my knowledge there is nothing in SAS that corresponds to case insensitive matching found in other databases. You need to upper/lowercase your data prior to the merge.&lt;BR /&gt;If you would use SQL instead you could do in the same step in the where/on statement.</description>
      <pubDate>Tue, 05 Apr 2016 14:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merge-with-case-insensitive/m-p/261407#M50873</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-05T14:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: merge with case insensitive</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merge-with-case-insensitive/m-p/261410#M50875</link>
      <description>&lt;P&gt;Not directly, you can do it in SQL:&lt;/P&gt;
&lt;PRE&gt;proc sql;
  create table TEST as
  select  A.NAME as TEST1,
          B.NAME as TEST2
  from    TEST1 A
  full join TEST2 B
  on       upcase(A.NAME)=upcase(B.NAME);
quit;&lt;/PRE&gt;
&lt;P&gt;Otrherwise, yes, create an upcase or lowcase of each and merge by that.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 14:36:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merge-with-case-insensitive/m-p/261410#M50875</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-05T14:36:59Z</dc:date>
    </item>
  </channel>
</rss>

