<?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: Select * from PROC SQL? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Select-from-PROC-SQL/m-p/331211#M62696</link>
    <description>Put "as" after your create table two.&lt;BR /&gt;&lt;BR /&gt;504 proc sql;&lt;BR /&gt;505 create table two AS&lt;BR /&gt;506 select *&lt;BR /&gt;507 from work.one&lt;BR /&gt;508 where TH=1&lt;BR /&gt;509 order by B;&lt;BR /&gt;510 quit;</description>
    <pubDate>Thu, 09 Feb 2017 16:05:40 GMT</pubDate>
    <dc:creator>TheShark</dc:creator>
    <dc:date>2017-02-09T16:05:40Z</dc:date>
    <item>
      <title>Select * from PROC SQL?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Select-from-PROC-SQL/m-p/331207#M62694</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a syntax error code show below. &amp;nbsp; I would like to select all of the previous variables from the old table 1 to create a new one table 2, with condition TH=1. &amp;nbsp;I don't know why it didn't work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;504 proc sql;&lt;BR /&gt;505 create table two&lt;BR /&gt;506 select *&lt;BR /&gt;------&lt;BR /&gt;73&lt;BR /&gt;ERROR 73-322: Expecting an AS.&lt;/P&gt;&lt;P&gt;507 from work.one&lt;BR /&gt;508 where TH=1&lt;BR /&gt;509 order by B;&lt;BR /&gt;510 quit;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 16:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Select-from-PROC-SQL/m-p/331207#M62694</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2017-02-09T16:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Select * from PROC SQL?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Select-from-PROC-SQL/m-p/331211#M62696</link>
      <description>Put "as" after your create table two.&lt;BR /&gt;&lt;BR /&gt;504 proc sql;&lt;BR /&gt;505 create table two AS&lt;BR /&gt;506 select *&lt;BR /&gt;507 from work.one&lt;BR /&gt;508 where TH=1&lt;BR /&gt;509 order by B;&lt;BR /&gt;510 quit;</description>
      <pubDate>Thu, 09 Feb 2017 16:05:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Select-from-PROC-SQL/m-p/331211#M62696</guid>
      <dc:creator>TheShark</dc:creator>
      <dc:date>2017-02-09T16:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select * from PROC SQL?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Select-from-PROC-SQL/m-p/331214#M62697</link>
      <description>&lt;P&gt;Thanks. it works&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 16:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Select-from-PROC-SQL/m-p/331214#M62697</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2017-02-09T16:11:29Z</dc:date>
    </item>
  </channel>
</rss>

