<?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 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435345#M108161</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/128890"&gt;@JHE&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;New table, just needs update value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;More words please. Not working doesn't tell us anything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 16:57:02 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-02-08T16:57:02Z</dc:date>
    <item>
      <title>Proc SQL Update</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435317#M108143</link>
      <description>&lt;P&gt;I have simple PROC SQL update, not sure why it dose not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;SQL&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;UPDATE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; work.LOB2100_PF022_Summary&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;SET&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; OHI_PLAN=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'Total Enrolled Health Plan'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:11:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435317#M108143</guid>
      <dc:creator>JHE</dc:creator>
      <dc:date>2018-02-08T16:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Update</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435321#M108147</link>
      <description>&lt;P&gt;Not sure how we are supposed to tell from that.&amp;nbsp; Are there observations in the dataset?&amp;nbsp; Its telling you there was nothing to update.&amp;nbsp; The syntax works fine to update all rows in the dataset,&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data want;
  a="hello";
run;
proc sql;
  update want set a="Goodbye";
quit;&lt;/PRE&gt;
&lt;P&gt;So either that dataset has no observations or you don't have permission to change it.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:18:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435321#M108147</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-02-08T16:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Update</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435341#M108157</link>
      <description>&lt;P&gt;New table, just needs update value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435341#M108157</guid>
      <dc:creator>JHE</dc:creator>
      <dc:date>2018-02-08T16:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Update</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435343#M108159</link>
      <description>&lt;P&gt;this is only can update one record, what f we need a list of records to be insert into the new table.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:56:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435343#M108159</guid>
      <dc:creator>JHE</dc:creator>
      <dc:date>2018-02-08T16:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Update</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435345#M108161</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/128890"&gt;@JHE&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;New table, just needs update value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;More words please. Not working doesn't tell us anything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:57:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435345#M108161</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-08T16:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Update</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435382#M108174</link>
      <description>&lt;P&gt;To insert a new record in your table use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
INSERT INTO work.LOB2100_PF022_Summary
SET OHI_PLAN='Total Enrolled Health Plan';
QUIT;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Feb 2018 18:39:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435382#M108174</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-02-08T18:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Update</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435561#M108219</link>
      <description>&lt;P&gt;Due to the fact you don't want to use communication I will guess that your post means that there is no observations, hence update has nothing to update.&amp;nbsp; If I was you I would start by learning Base SAS:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://video.sas.com/#category/videos/how-to-tutorials" target="_blank"&gt;http://video.sas.com/#category/videos/how-to-tutorials&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These will guide you on how to do all the various things in Base SAS - this is the language you are using so its good to have a thorough knowledge of it before adding additional sub components like SQL.&amp;nbsp; Several of the early videos will show multiple ways of getting data into SAS datasets to work on.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 09:04:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Update/m-p/435561#M108219</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-02-09T09:04:22Z</dc:date>
    </item>
  </channel>
</rss>

