<?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: proc sql question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-sql-question/m-p/461229#M117298</link>
    <description>&lt;P&gt;Where is the rest of your query? "obs" is a short way of identifying a table if your query looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
  create table want as
  select obs.*
  from MyLongTableName as obs
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So the query means select all columns from the table referenced by "obs". BTW "obs" has no special meaning. You can use any character or characters to reference the table: ABC, XYZ etc.&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 01:20:41 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2018-05-10T01:20:41Z</dc:date>
    <item>
      <title>proc sql question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sql-question/m-p/461228#M117297</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some body had written a proc sql code in a macro&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;porc sql;&lt;/P&gt;
&lt;P&gt;select distinct&lt;BR /&gt; &lt;FONT color="#FF0000"&gt;obs.*,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;What is "obs.*". I know '*' means all. Does it mean all observations. Please suggest any example i can read. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 01:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sql-question/m-p/461228#M117297</guid>
      <dc:creator>knveraraju91</dc:creator>
      <dc:date>2018-05-10T01:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sql-question/m-p/461229#M117298</link>
      <description>&lt;P&gt;Where is the rest of your query? "obs" is a short way of identifying a table if your query looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
  create table want as
  select obs.*
  from MyLongTableName as obs
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So the query means select all columns from the table referenced by "obs". BTW "obs" has no special meaning. You can use any character or characters to reference the table: ABC, XYZ etc.&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 01:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sql-question/m-p/461229#M117298</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-05-10T01:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sql-question/m-p/461251#M117307</link>
      <description>&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;said, obs could be a table alias name &lt;STRONG&gt;or&lt;/STRONG&gt; it could be the table name itself, as in the query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select 
    obs.*,
    have.age
from obs, have
where obs.id=have.id;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 May 2018 05:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sql-question/m-p/461251#M117307</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-05-10T05:16:45Z</dc:date>
    </item>
  </channel>
</rss>

