<?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 ERROR 22-322: Syntax error, expecting one of the following: a name, *. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669883#M79181</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i keep getting errors when trying to join 2 tables:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, *.&lt;/P&gt;&lt;P&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;create table ConsolidatedCust as&lt;BR /&gt;(&lt;BR /&gt;select *&lt;BR /&gt;from customers c, WillWool w&lt;BR /&gt;where c.[Cuno] = w.[Cuno]&lt;BR /&gt;);&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is very frustrating. I even tried on top 100 but kept getting the same error. I also tried selecting specific columns but it wouldn't work. Please assist.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2020 13:46:17 GMT</pubDate>
    <dc:creator>Citrine10</dc:creator>
    <dc:date>2020-07-16T13:46:17Z</dc:date>
    <item>
      <title>ERROR 22-322: Syntax error, expecting one of the following: a name, *.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669883#M79181</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i keep getting errors when trying to join 2 tables:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, *.&lt;/P&gt;&lt;P&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;create table ConsolidatedCust as&lt;BR /&gt;(&lt;BR /&gt;select *&lt;BR /&gt;from customers c, WillWool w&lt;BR /&gt;where c.[Cuno] = w.[Cuno]&lt;BR /&gt;);&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is very frustrating. I even tried on top 100 but kept getting the same error. I also tried selecting specific columns but it wouldn't work. Please assist.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669883#M79181</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2020-07-16T13:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 22-322: Syntax error, expecting one of the following: a name, *.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669884#M79182</link>
      <description>I also tried this and i would ideally like to go this route of specifying the join. However i still get the same error:&lt;BR /&gt;proc sql;&lt;BR /&gt;create table ConsolidatedCust as&lt;BR /&gt;select *&lt;BR /&gt;from WillWool t&lt;BR /&gt;left join customers c&lt;BR /&gt;on t.[Cuno] = c.cuno&lt;BR /&gt;;quit;</description>
      <pubDate>Thu, 16 Jul 2020 13:48:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669884#M79182</guid>
      <dc:creator>Citrine10</dc:creator>
      <dc:date>2020-07-16T13:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 22-322: Syntax error, expecting one of the following: a name, *.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669885#M79183</link>
      <description>&lt;P&gt;from where do you take the idea of the square brackets?&lt;/P&gt;
&lt;P&gt;Try this instead:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table ConsolidatedCust as
  select *
  from customers c, WillWool w
  where c.Cuno = w.Cuno
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:48:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669885#M79183</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-16T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 22-322: Syntax error, expecting one of the following: a name, *.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669887#M79184</link>
      <description>&lt;P&gt;Also, please post the &lt;EM&gt;complete&lt;/EM&gt; log of the step by copy/pasting it into a window opened with this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg"&gt;&lt;img src="https://communities.sas.com/skins/images/2FD96521DCF95C42FE57BF2A7CB72678/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:51:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-22-322-Syntax-error-expecting-one-of-the-following-a-name/m-p/669887#M79184</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-07-16T13:51:15Z</dc:date>
    </item>
  </channel>
</rss>

