<?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 are Feature Class Deletes Recorded in SQL Server in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/how-are-feature-class-deletes-recorded-in-sql/m-p/801518#M2650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp; I hope this question makes sense as I'm not a database person.&amp;nbsp; We are trying to track down an error in an application (we didn't write) that is made up of esri's javascript api and python api/scripts.&amp;nbsp; We're trying to track down in the code where an unexpected number of deletes are occurring.&amp;nbsp; When the event occurs, all we have to go on is the SQL Server log which lists thousands of "DELETE FROM PROJECTS_FEATURE_CLASS WHERE OBJECTID IN (xxx)" statements within fraction of seconds from each other. The "xxx" is a single objectid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my question is... if using the api the code were to select a bunch of features and then execute a delete statement against the selection, would the database log each feature delete separately?&amp;nbsp; We aren't finding a loop in the code so thought maybe it's more about how a single delete of multiple features would be handled in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I hope that makes sense.&amp;nbsp; And thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mary Ellen&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 1131px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 19:42:45 GMT</pubDate>
    <dc:creator>MaryEllen_Perko</dc:creator>
    <dc:date>2015-03-30T19:42:45Z</dc:date>
    <item>
      <title>How are Feature Class Deletes Recorded in SQL Server</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-are-feature-class-deletes-recorded-in-sql/m-p/801518#M2650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp; I hope this question makes sense as I'm not a database person.&amp;nbsp; We are trying to track down an error in an application (we didn't write) that is made up of esri's javascript api and python api/scripts.&amp;nbsp; We're trying to track down in the code where an unexpected number of deletes are occurring.&amp;nbsp; When the event occurs, all we have to go on is the SQL Server log which lists thousands of "DELETE FROM PROJECTS_FEATURE_CLASS WHERE OBJECTID IN (xxx)" statements within fraction of seconds from each other. The "xxx" is a single objectid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my question is... if using the api the code were to select a bunch of features and then execute a delete statement against the selection, would the database log each feature delete separately?&amp;nbsp; We aren't finding a loop in the code so thought maybe it's more about how a single delete of multiple features would be handled in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I hope that makes sense.&amp;nbsp; And thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mary Ellen&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 1131px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 19:42:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-are-feature-class-deletes-recorded-in-sql/m-p/801518#M2650</guid>
      <dc:creator>MaryEllen_Perko</dc:creator>
      <dc:date>2015-03-30T19:42:45Z</dc:date>
    </item>
  </channel>
</rss>

