<?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 how make update faster? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-make-update-faster/m-p/75982#M22055</link>
    <description>I have a SPDS table and I want to set all values in a particular column to NULL or ' ' (empty string).&lt;BR /&gt;
&lt;BR /&gt;
It is taking very long to process, the table is ~30million records.&lt;BR /&gt;
Here is my code&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
	update data.account set ssn=' ';&lt;BR /&gt;
quit;</description>
    <pubDate>Thu, 15 Oct 2009 19:13:21 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-10-15T19:13:21Z</dc:date>
    <item>
      <title>how make update faster?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-make-update-faster/m-p/75982#M22055</link>
      <description>I have a SPDS table and I want to set all values in a particular column to NULL or ' ' (empty string).&lt;BR /&gt;
&lt;BR /&gt;
It is taking very long to process, the table is ~30million records.&lt;BR /&gt;
Here is my code&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
	update data.account set ssn=' ';&lt;BR /&gt;
quit;</description>
      <pubDate>Thu, 15 Oct 2009 19:13:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-make-update-faster/m-p/75982#M22055</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-15T19:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: how make update faster?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-make-update-faster/m-p/75983#M22056</link>
      <description>I don't know for sure, but my gut feeling says that recreating the table using data set would be faster. &lt;BR /&gt;
The downside is that you have to recreate any existing indexes. &lt;BR /&gt;
Even a bit faster would be to do a SQL pass-thru to do the job (create table...).&lt;BR /&gt;
&lt;BR /&gt;
On the other hand, your example looks like a one-time fix, so it doesn't really needs to be optimized...?&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Mon, 19 Oct 2009 08:12:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-make-update-faster/m-p/75983#M22056</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-10-19T08:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: how make update faster?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-make-update-faster/m-p/75984#M22057</link>
      <description>I have found in the past that updates like this are quite often faster if you drop the index first, then reindex it after the update.</description>
      <pubDate>Mon, 19 Oct 2009 11:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-make-update-faster/m-p/75984#M22057</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-10-19T11:49:49Z</dc:date>
    </item>
  </channel>
</rss>

