<?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 trying to return the first record in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/trying-to-return-the-first-record/m-p/720768#M223300</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to return the first record but I'm having an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PROC SQL;&lt;BR /&gt;SELECT region,&lt;BR /&gt;(COUNT(number_id))&amp;nbsp;&amp;nbsp;&lt;BR /&gt;FROM COVID_DATA_JOIN&lt;BR /&gt;WHERE rownum = 1&lt;BR /&gt;GROUP BY region&lt;BR /&gt;;QUIT;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Feb 2021 19:02:28 GMT</pubDate>
    <dc:creator>One_eye</dc:creator>
    <dc:date>2021-02-21T19:02:28Z</dc:date>
    <item>
      <title>trying to return the first record</title>
      <link>https://communities.sas.com/t5/SAS-Programming/trying-to-return-the-first-record/m-p/720768#M223300</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to return the first record but I'm having an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PROC SQL;&lt;BR /&gt;SELECT region,&lt;BR /&gt;(COUNT(number_id))&amp;nbsp;&amp;nbsp;&lt;BR /&gt;FROM COVID_DATA_JOIN&lt;BR /&gt;WHERE rownum = 1&lt;BR /&gt;GROUP BY region&lt;BR /&gt;;QUIT;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 19:02:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/trying-to-return-the-first-record/m-p/720768#M223300</guid>
      <dc:creator>One_eye</dc:creator>
      <dc:date>2021-02-21T19:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: trying to return the first record</title>
      <link>https://communities.sas.com/t5/SAS-Programming/trying-to-return-the-first-record/m-p/720772#M223301</link>
      <description>&lt;P&gt;When you have ERRORs or WARNINGs where the remedy is not obvious to you, always (as in&amp;nbsp;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;) post the &lt;EM&gt;complete&lt;/EM&gt;&amp;nbsp;log of the step by copy/pasting it into a code box opened with the &amp;lt;/&amp;gt; button.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 19:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/trying-to-return-the-first-record/m-p/720772#M223301</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-02-21T19:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: trying to return the first record</title>
      <link>https://communities.sas.com/t5/SAS-Programming/trying-to-return-the-first-record/m-p/720789#M223313</link>
      <description>&lt;P&gt;This syntax is invalid in SAS unless you have a column names ROWNUM.&lt;/P&gt;
&lt;P&gt;Look for questions about&amp;nbsp; &amp;nbsp; &amp;nbsp;TOP N&amp;nbsp; &amp;nbsp; for examples of what you are trying to achieve.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 21:57:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/trying-to-return-the-first-record/m-p/720789#M223313</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-02-21T21:57:26Z</dc:date>
    </item>
  </channel>
</rss>

