<?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 get a dataset where the ticket doesn't match ? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-get-a-dataset-where-the-ticket-doesn-t-match/m-p/273727#M58465</link>
    <description>&lt;P&gt;Here's a try for simple data such as you show.&lt;/P&gt;
&lt;P&gt;If there are many duplicates of ID*date combinations may not work.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   create table want 
   as select b.*
   from table1 as a left join table2 as b
      on a.id=b.id and a.date=b.date 
   where a.key ne b.key;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 27 May 2016 21:24:14 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-05-27T21:24:14Z</dc:date>
    <item>
      <title>How to get a dataset where the ticket doesn't match ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-get-a-dataset-where-the-ticket-doesn-t-match/m-p/273723#M58464</link>
      <description>I have 2 tables I need to create a new table where the key doesn't match here is example&lt;BR /&gt;TABLE 1&lt;BR /&gt;ID. date. key&lt;BR /&gt;A. 06/01/15. 1&lt;BR /&gt;A. 06/02/16. 23&lt;BR /&gt;here is example&lt;BR /&gt;TABLE 2&lt;BR /&gt;ID. date. key&lt;BR /&gt;A. 06/01/15. 3&lt;BR /&gt;A. 06/02/16. 23&lt;BR /&gt;&lt;BR /&gt;here what I want to see&lt;BR /&gt;&lt;BR /&gt;TABLE 3&lt;BR /&gt;ID. date. key&lt;BR /&gt;A. 06/02/16. 3&lt;BR /&gt;The key 1 is not needed ... I'm kicking around merge I just need the key where there is no match thanks</description>
      <pubDate>Fri, 27 May 2016 21:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-get-a-dataset-where-the-ticket-doesn-t-match/m-p/273723#M58464</guid>
      <dc:creator>Beto16</dc:creator>
      <dc:date>2016-05-27T21:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a dataset where the ticket doesn't match ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-get-a-dataset-where-the-ticket-doesn-t-match/m-p/273727#M58465</link>
      <description>&lt;P&gt;Here's a try for simple data such as you show.&lt;/P&gt;
&lt;P&gt;If there are many duplicates of ID*date combinations may not work.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   create table want 
   as select b.*
   from table1 as a left join table2 as b
      on a.id=b.id and a.date=b.date 
   where a.key ne b.key;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 May 2016 21:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-get-a-dataset-where-the-ticket-doesn-t-match/m-p/273727#M58465</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-05-27T21:24:14Z</dc:date>
    </item>
  </channel>
</rss>

