<?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: Updating a table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Updating-a-table/m-p/61612#M13388</link>
    <description>You may have to use the strip and upper functions in the event that your data has extra spaces or case difference but, otherwise, you may only need something like:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data want;&lt;BR /&gt;
  set have;&lt;BR /&gt;
  if statename eq "alabama" and associationname eq "FLC"&lt;BR /&gt;
   then associationname="AL";&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
HTH,&lt;BR /&gt;
Art</description>
    <pubDate>Wed, 04 May 2011 01:01:15 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2011-05-04T01:01:15Z</dc:date>
    <item>
      <title>Updating a table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Updating-a-table/m-p/61611#M13387</link>
      <description>this is my table(a small example) my table has around 25000 rows&lt;BR /&gt;
&lt;BR /&gt;
id statename associationname code price&lt;BR /&gt;
1 texas TX 3435 234&lt;BR /&gt;
2 alabama FLC 2342 345&lt;BR /&gt;
3 alabama FLB 35443 345&lt;BR /&gt;
4 alabama ALC 3445 356&lt;BR /&gt;
&lt;BR /&gt;
Now i want to make changes such that if statename= alabama and associationname=FLC&lt;BR /&gt;
&lt;BR /&gt;
i want to change associationname to AL&lt;BR /&gt;
&lt;BR /&gt;
pls help thanks in advance</description>
      <pubDate>Wed, 04 May 2011 00:35:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Updating-a-table/m-p/61611#M13387</guid>
      <dc:creator>saslackey</dc:creator>
      <dc:date>2011-05-04T00:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Updating-a-table/m-p/61612#M13388</link>
      <description>You may have to use the strip and upper functions in the event that your data has extra spaces or case difference but, otherwise, you may only need something like:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data want;&lt;BR /&gt;
  set have;&lt;BR /&gt;
  if statename eq "alabama" and associationname eq "FLC"&lt;BR /&gt;
   then associationname="AL";&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
HTH,&lt;BR /&gt;
Art</description>
      <pubDate>Wed, 04 May 2011 01:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Updating-a-table/m-p/61612#M13388</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-05-04T01:01:15Z</dc:date>
    </item>
  </channel>
</rss>

