<?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: sas proc sql in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-proc-sql/m-p/799866#M314562</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416388"&gt;@HeatherNewton&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;is distinct in proc sql same usage as distinct of SQL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in SQL,&lt;/P&gt;
&lt;P&gt;eg select distinct apple orange banana from fruits&lt;/P&gt;
&lt;P&gt;mean each row consist of apple orange banana is distinct..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in SAS,&lt;/P&gt;
&lt;P&gt;proc sql distinct apple orange banana from fruits...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is the meaning of distinct the same in both cases?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Whose "SQL" in the first example. Some implementations of SQL may do things differently based on the rest of the query such as Where, Having or Group by clause and the exact options used in those as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many flavors of SQL have extensions to the 'standard' behavior and may be controlled by user settings in addition to the code shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better would be to provide some example data AND complete query examples. Best would be create data in the two, or more systems, that is identical and actually run the query and observe the result.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 14:29:03 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-03-03T14:29:03Z</dc:date>
    <item>
      <title>sas proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-proc-sql/m-p/799794#M314525</link>
      <description>&lt;P&gt;is distinct in proc sql same usage as distinct of SQL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in SQL,&lt;/P&gt;&lt;P&gt;eg select distinct apple orange banana from fruits&lt;/P&gt;&lt;P&gt;mean each row consist of apple orange banana is distinct..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in SAS,&lt;/P&gt;&lt;P&gt;proc sql distinct apple orange banana from fruits...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is the meaning of distinct the same in both cases?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 10:18:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-proc-sql/m-p/799794#M314525</guid>
      <dc:creator>HeatherNewton</dc:creator>
      <dc:date>2022-03-03T10:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: sas proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-proc-sql/m-p/799817#M314542</link>
      <description>&lt;P&gt;I'm not sure your definition of DISTINCT is the same as my definition, based on your example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the link to the documentation&amp;nbsp;&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/sqlproc/n0mo9ak7pmhfjhn1fw5crkp17jg0.htm#:~:text=to%20the%20column.-,DISTINCT,-eliminates%20duplicate%20rows" target="_self"&gt;Select Clause, DISTINCT Argument&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 12:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-proc-sql/m-p/799817#M314542</guid>
      <dc:creator>AMSAS</dc:creator>
      <dc:date>2022-03-03T12:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: sas proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-proc-sql/m-p/799866#M314562</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416388"&gt;@HeatherNewton&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;is distinct in proc sql same usage as distinct of SQL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in SQL,&lt;/P&gt;
&lt;P&gt;eg select distinct apple orange banana from fruits&lt;/P&gt;
&lt;P&gt;mean each row consist of apple orange banana is distinct..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in SAS,&lt;/P&gt;
&lt;P&gt;proc sql distinct apple orange banana from fruits...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is the meaning of distinct the same in both cases?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Whose "SQL" in the first example. Some implementations of SQL may do things differently based on the rest of the query such as Where, Having or Group by clause and the exact options used in those as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many flavors of SQL have extensions to the 'standard' behavior and may be controlled by user settings in addition to the code shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better would be to provide some example data AND complete query examples. Best would be create data in the two, or more systems, that is identical and actually run the query and observe the result.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 14:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-proc-sql/m-p/799866#M314562</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-03T14:29:03Z</dc:date>
    </item>
  </channel>
</rss>

