<?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: reset feature class objectid after table is truncated in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411650#M11020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like the ID is generated and stored in&amp;nbsp;separate tables: i200, i201, i202 etc.&lt;/P&gt;&lt;P&gt;But you have to find the correct index table for each feature class which I couldn't find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2016 03:19:31 GMT</pubDate>
    <dc:creator>BatbayarBazarragchaa</dc:creator>
    <dc:date>2016-12-12T03:19:31Z</dc:date>
    <item>
      <title>reset feature class objectid after table is truncated</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411648#M11018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a procedure which&amp;nbsp;truncates a feature class and adds new records to the truncated feature class. This procedure is run every night.&amp;nbsp;Every time the new records are added to the feature class, the objectID is increased based on the largest objectID of the records that are truncated. I understand the objectID is maintained in SDE to make sure it is unique. Is there a way that the objectID can be reset to start from "1" after the table are truncated? The table is not versioned, not archived.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 16:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411648#M11018</guid>
      <dc:creator>HelenZhou</dc:creator>
      <dc:date>2016-12-08T16:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: reset feature class objectid after table is truncated</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411649#M11019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this applies to your situation but if you &lt;EM&gt;compact&lt;/EM&gt; a personal/file geodatabase then the ObjectID resets to 1 on an empty table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 14:59:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411649#M11019</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2016-12-09T14:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: reset feature class objectid after table is truncated</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411650#M11020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like the ID is generated and stored in&amp;nbsp;separate tables: i200, i201, i202 etc.&lt;/P&gt;&lt;P&gt;But you have to find the correct index table for each feature class which I couldn't find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 03:19:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411650#M11020</guid>
      <dc:creator>BatbayarBazarragchaa</dc:creator>
      <dc:date>2016-12-12T03:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: reset feature class objectid after table is truncated</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411651#M11021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/7877"&gt;Helen &lt;/A&gt;&amp;nbsp;You &lt;STRONG&gt;may be&lt;/STRONG&gt;&amp;nbsp;hitting the below Bug:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://support.esri.com/bugs/nimbus/QlVHLTAwMDA5Mjk3NA==" title="http://support.esri.com/bugs/nimbus/QlVHLTAwMDA5Mjk3NA=="&gt;BUG-000092974: ObjectID sequence values do not reset to 1 after run..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;BUG-000092974 - ObjectID sequence values do not reset to 1 after running the Truncate Table tool with background geoprocessing enabled.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It seems to be fixed in the upcoming 10.5 release. Disable Background Geoprocessing, if it is enabled and then give it a try for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt;‌ &lt;A href="https://community.esri.com/space/2050"&gt;Managing Data&lt;/A&gt;‌ &lt;A href="https://community.esri.com/space/2053"&gt;Enterprise GIS&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 06:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411651#M11021</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2016-12-12T06:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: reset feature class objectid after table is truncated</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411652#M11022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to set up the feature class as non-versioned and use truncate table tool to truncate the table. The objectID is reset this way. Thank you all for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 22:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/411652#M11022</guid>
      <dc:creator>HelenZhou</dc:creator>
      <dc:date>2017-01-18T22:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: reset feature class objectid after table is truncated</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/1085720#M20361</link>
      <description>&lt;P&gt;You can find the ID table by looking up the Attibute Index ID. Go to the table/featureclass in Arccatalog. Right click go to properties. Then go to the Indexes tabe. You should have an index for Objectid that R298_SDE_ROWID_UK. That number 298 is the table I298 which holds the next objectid.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 14:44:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/reset-feature-class-objectid-after-table-is/m-p/1085720#M20361</guid>
      <dc:creator>WilliamSteichen</dc:creator>
      <dc:date>2021-08-04T14:44:44Z</dc:date>
    </item>
  </channel>
</rss>

