<?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 update statement with inner join in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-update-statement-with-inner-join/m-p/307881#M61138</link>
    <description>&lt;P&gt;Since it's a syntax error, there's nothing to explain.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2016 10:45:31 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-10-28T10:45:31Z</dc:date>
    <item>
      <title>proc sql update statement with inner join</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-update-statement-with-inner-join/m-p/307878#M61136</link>
      <description>&lt;P&gt;Can any one explain the inner join on condition (ON a.date=b.DATE - 1 YEAR) in below query&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;alter table k.data_products&lt;BR /&gt;add var1 NUM(8)&lt;SPAN class="text_exposed_show"&gt;&lt;BR /&gt;add var2 NUM(8)&lt;BR /&gt;add var3 NUM(8)&lt;BR /&gt;add var4 NUM(8)&lt;BR /&gt;add var5 NUM(8);&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="text_exposed_show"&gt;
&lt;P&gt;update k.data_products1 a &lt;BR /&gt;set a.var1=b.c_var1,a.var2=b.c_var2,a.var3=b.c_var3&lt;BR /&gt;FROM k.data_products1 a INNER JOIN k.data_products2 b&lt;BR /&gt;ON a.date=b.DATE - 1 YEAR;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Oct 2016 10:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-update-statement-with-inner-join/m-p/307878#M61136</guid>
      <dc:creator>Ravikumarkummari</dc:creator>
      <dc:date>2016-10-28T10:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql update statement with inner join</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-update-statement-with-inner-join/m-p/307879#M61137</link>
      <description>&lt;P&gt;That isn't valid syntax.&lt;/P&gt;
&lt;P&gt;Ask the person who created the code.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 10:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-update-statement-with-inner-join/m-p/307879#M61137</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-10-28T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql update statement with inner join</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-update-statement-with-inner-join/m-p/307881#M61138</link>
      <description>&lt;P&gt;Since it's a syntax error, there's nothing to explain.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 10:45:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-update-statement-with-inner-join/m-p/307881#M61138</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-28T10:45:31Z</dc:date>
    </item>
  </channel>
</rss>

