<?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: DeleteRows_management and Append_management problems in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738923#M57158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I run DeleteRows_management nothing happens if I use the 64-bit IDE but it works with the 32-bit IDE. No error messages, not versioned, no edit session. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run DeleteRows_management on the sde feature class to clear the existing features and then run Append_management to load the new ones.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2017 16:09:57 GMT</pubDate>
    <dc:creator>MarkBinder</dc:creator>
    <dc:date>2017-10-03T16:09:57Z</dc:date>
    <item>
      <title>DeleteRows_management and Append_management problems</title>
      <link>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738919#M57154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to update a layer that is in an Oracle sde feature class. I create the feature class in a file geodatabase and then delete the features in the sde feature class and append the features from the file geodatabase layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was having trouble getting it to work until I switched from a 64-bit IDE to a 32-bit one. Do DeleteRows_management and Append_management only work in a 32-bit environment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 13:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738919#M57154</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2017-10-03T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: DeleteRows_management and Append_management problems</title>
      <link>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738920#M57155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although you posted this in the &lt;A href="https://community.esri.com/group/4814"&gt;ArcGIS API for Python&lt;/A&gt;‌ place, I am guessing it is an ArcPy question and will get more feedback in the &lt;A href="https://community.esri.com/space/2145"&gt;Python&lt;/A&gt;‌ space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Several things could be going on.&amp;nbsp; What version of ArcGIS Desktop are you running?&amp;nbsp; Do you have 64-bit Background Geoprocessing installed?&amp;nbsp; You say the IDE is 64-bit, are you trying to run 32-bit ArcPy or 64-bit ArcPy code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 13:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738920#M57155</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-10-03T13:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: DeleteRows_management and Append_management problems</title>
      <link>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738921#M57156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the posting tip. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.4.1 and have the 64-bit Background Geoprocessing package installed. I have PyScripter 64-bit and 32-bit as my IDEs. I believe that I only have 32-bit ArcPy available to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 13:49:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738921#M57156</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2017-10-03T13:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: DeleteRows_management and Append_management problems</title>
      <link>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738922#M57157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a complete deletion of all features and then append?&amp;nbsp; If so, perhaps TruncateTable_management is appropriate (I think requires owner account to perform this operation tho).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define "trouble getting it to work".&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any error messages?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which lines of code failed?&lt;/P&gt;&lt;P&gt;If it's an enterprise dataset, is it versioned?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are&amp;nbsp;you starting/stopping an edit session?&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were having some issues with SDE updates on non-versioned feature classes (Oracle) and cleared things up by implementing arcpy.ClearWorkspaceCache_management.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 14:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738922#M57157</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-10-03T14:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: DeleteRows_management and Append_management problems</title>
      <link>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738923#M57158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I run DeleteRows_management nothing happens if I use the 64-bit IDE but it works with the 32-bit IDE. No error messages, not versioned, no edit session. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run DeleteRows_management on the sde feature class to clear the existing features and then run Append_management to load the new ones.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 16:09:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738923#M57158</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2017-10-03T16:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: DeleteRows_management and Append_management problems</title>
      <link>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738924#M57159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know what could be the issue, but I'd think TruncateTable_management would be the better option if you are simply deleting all features/rows and then appending (no recovery of deleted features though!).&amp;nbsp; Also, be sure to correctly implement arcpy.ClearWorkspaceCache_management since you are working in an enterprise environment and this should help to eliminate connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've not done much with Append and typically rely on arcpy.da cursor to perform appends, updates and deletes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 16:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738924#M57159</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-10-03T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: DeleteRows_management and Append_management problems</title>
      <link>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738925#M57160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I only have one feature in the feature class that I'm deleting so switching to TruncateTable_management might not make any difference. I also create temporary sde connections in my script and then delete them at the end. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 19:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/deleterows-management-and-append-management/m-p/738925#M57160</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2017-10-03T19:23:10Z</dc:date>
    </item>
  </channel>
</rss>

