<?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 inserting new column in ArcSDE table (ERROR 999999) in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/error-inserting-new-column-in-arcsde-table-error/m-p/695840#M4771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I am using a python script to populate a table with values I get from rasters files. I use &lt;STRONG&gt;arcpy.AddField_management&lt;/STRONG&gt; to add a new column and&amp;nbsp; &lt;STRONG&gt;arcpy.CalculateField_management&lt;/STRONG&gt; to insert the values for the new column. The table has more than 450 columns and after executing &lt;STRONG&gt;arcpy.CalculateField_management&lt;/STRONG&gt; I get the following error:&lt;/P&gt;&lt;PRE class="prettyprint prettyprinted default" style="margin-bottom: 10px; padding: 5px; font-size: 12px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #393318; background-color: #eeeeee;"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;ExecuteError&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; ERROR &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #953838;"&gt;999999&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Error&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; executing &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #8a4a0b;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Underlying&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; DBMS error &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;[[&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Microsoft&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;][&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;SQL &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Server&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Native&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Client&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #953838;"&gt;11.0&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;][&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;SQL &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Server&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;]&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Cannot&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; create a row of size &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #953838;"&gt;8074&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; which &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #8a4a0b;"&gt;is&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; greater than the allowable maximum row size of &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #953838;"&gt;8060.&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;]&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Failed&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; to execute &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;CalculateField&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;).&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I can avoid this error executing in SQL Server:&lt;/P&gt;&lt;PRE class="prettyprint prettyprinted default" style="margin-bottom: 10px; padding: 5px; font-size: 12px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #393318; background-color: #eeeeee;"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;ALTER TABLE REBUILD&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Is there anyway to execute this SQL server instruction from the script or another equivalent way to avoid the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 15:30:21 GMT</pubDate>
    <dc:creator>MikelSantamaria</dc:creator>
    <dc:date>2015-04-29T15:30:21Z</dc:date>
    <item>
      <title>Error inserting new column in ArcSDE table (ERROR 999999)</title>
      <link>https://community.esri.com/t5/developers-questions/error-inserting-new-column-in-arcsde-table-error/m-p/695840#M4771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I am using a python script to populate a table with values I get from rasters files. I use &lt;STRONG&gt;arcpy.AddField_management&lt;/STRONG&gt; to add a new column and&amp;nbsp; &lt;STRONG&gt;arcpy.CalculateField_management&lt;/STRONG&gt; to insert the values for the new column. The table has more than 450 columns and after executing &lt;STRONG&gt;arcpy.CalculateField_management&lt;/STRONG&gt; I get the following error:&lt;/P&gt;&lt;PRE class="prettyprint prettyprinted default" style="margin-bottom: 10px; padding: 5px; font-size: 12px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #393318; background-color: #eeeeee;"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;ExecuteError&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; ERROR &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #953838;"&gt;999999&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Error&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; executing &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #8a4a0b;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Underlying&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; DBMS error &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;[[&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Microsoft&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;][&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;SQL &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Server&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Native&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Client&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #953838;"&gt;11.0&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;][&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;SQL &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Server&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;]&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Cannot&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; create a row of size &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #953838;"&gt;8074&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; which &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #8a4a0b;"&gt;is&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; greater than the allowable maximum row size of &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #953838;"&gt;8060.&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;]&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Failed&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; to execute &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;CalculateField&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #145680;"&gt;).&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I can avoid this error executing in SQL Server:&lt;/P&gt;&lt;PRE class="prettyprint prettyprinted default" style="margin-bottom: 10px; padding: 5px; font-size: 12px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #393318; background-color: #eeeeee;"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #222222;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;ALTER TABLE REBUILD&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Is there anyway to execute this SQL server instruction from the script or another equivalent way to avoid the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 15:30:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/error-inserting-new-column-in-arcsde-table-error/m-p/695840#M4771</guid>
      <dc:creator>MikelSantamaria</dc:creator>
      <dc:date>2015-04-29T15:30:21Z</dc:date>
    </item>
  </channel>
</rss>

