<?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 Exclude missing row from proc sql table output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750716#M236176</link>
    <description>&lt;P&gt;Please can someone tell me how I can exclude the missing row from my proc sql table? The code that I have got is as follows, so the output should only show the names (and no blank row in the output).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sql;
        create table Records as 
        select distinct Name
                from Test
                where "01May2021"d&amp;lt;=MONTH&amp;lt;="31May2021"d
        except
        select distinct Name
                from Test
                where "01Apr2021"d&amp;lt;=MONTH&amp;lt;="30Apr2021"d
       ;
quit;&lt;/PRE&gt;</description>
    <pubDate>Sun, 27 Jun 2021 21:28:44 GMT</pubDate>
    <dc:creator>Justin9</dc:creator>
    <dc:date>2021-06-27T21:28:44Z</dc:date>
    <item>
      <title>Exclude missing row from proc sql table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750716#M236176</link>
      <description>&lt;P&gt;Please can someone tell me how I can exclude the missing row from my proc sql table? The code that I have got is as follows, so the output should only show the names (and no blank row in the output).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sql;
        create table Records as 
        select distinct Name
                from Test
                where "01May2021"d&amp;lt;=MONTH&amp;lt;="31May2021"d
        except
        select distinct Name
                from Test
                where "01Apr2021"d&amp;lt;=MONTH&amp;lt;="30Apr2021"d
       ;
quit;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Jun 2021 21:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750716#M236176</guid>
      <dc:creator>Justin9</dc:creator>
      <dc:date>2021-06-27T21:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude missing row from proc sql table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750717#M236177</link>
      <description>&lt;P&gt;You need to explain what you mean by "blank" or "missing" row. What defines such a row?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 21:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750717#M236177</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-06-27T21:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude missing row from proc sql table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750719#M236178</link>
      <description>&lt;P&gt;My output, 'Records' (see code above) gives the following, so it's row 1 in my example that I would like to exclude (i.e. I only want the distinct Name values to be in the output).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Justin9_0-1624829880393.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60790iE9D02605F75BFA8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Justin9_0-1624829880393.png" alt="Justin9_0-1624829880393.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 21:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750719#M236178</guid>
      <dc:creator>Justin9</dc:creator>
      <dc:date>2021-06-27T21:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude missing row from proc sql table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750721#M236180</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
        create table Records as 
        select distinct Name
                from Test
                where "01May2021"d&amp;lt;=MONTH&amp;lt;="31May2021"d and not missing(name)
        except
        select distinct Name
                from Test
                where "01Apr2021"d&amp;lt;=MONTH&amp;lt;="30Apr2021"d 
       ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Jun 2021 21:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exclude-missing-row-from-proc-sql-table-output/m-p/750721#M236180</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-27T21:43:50Z</dc:date>
    </item>
  </channel>
</rss>

