<?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: Clean up orphaned records in the SDE repository tables in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697089#M39589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had tried that and it didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But then this morning I created again a table with SQLPlus and finally I saw it in ArcCatalog and could delete it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now finally I wanted to this for all tables which are not existing and have entries in GDB_OBJECTCLASSES.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the strange thing is again, I cannot see the tables in ArcCatalog after having them created in SQLPlus. Even after reconnecting several times. But in Oracle the tables are there. I am using ArcGIS Desktop 10.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2012 13:42:04 GMT</pubDate>
    <dc:creator>HildegardGerlach1</dc:creator>
    <dc:date>2012-12-06T13:42:04Z</dc:date>
    <item>
      <title>Clean up orphaned records in the SDE repository tables</title>
      <link>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697087#M39587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have orphaned records in the SDE repository tables (e.g. GDB_OBJECTCLASSES) which I cannot see from ArcCatalog any more. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to do what is written here&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/34050" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/34050&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;create the table with SQL (Oracle), I cannot create it in ArcCatalog as the table name exists;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I cannot see the table from ArcCatalog afterwards to delete it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have ArcSDE 9.3, and I use ArcCatalog 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried as well to delete the table with ArcSDE 9.3 client sdetable -o delete, but the table name still remains in the SDE repository tables&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;extract from prerequisite check for upgrading SDE (although it is a warning)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Checking dataset (GISPRD.A4).
Table (GISPRD.A4) was found in GDB_ObjectClasses, but does not exist in the database.&amp;nbsp; Skipping.
DBMS table not found [GISPRD.A4][STATE_ID = 19914]
The index passed was not within the valid range.
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hilde&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697087#M39587</guid>
      <dc:creator>HildegardGerlach1</dc:creator>
      <dc:date>2021-12-12T05:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up orphaned records in the SDE repository tables</title>
      <link>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697088#M39588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;'sdetable' won't populate or maintain SDE.GDB_* tables, only ArcGIS will.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use SQL*Plus or SQLDeveloper (or your UI of choice) to create the table for re-DROPping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The syntax is just "CREATE TABLE tblname ( OBJECTID INTEGER NOT NULL )".&amp;nbsp; Then you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can use Desktop to delete it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 14:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697088#M39588</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-12-05T14:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up orphaned records in the SDE repository tables</title>
      <link>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697089#M39589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had tried that and it didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But then this morning I created again a table with SQLPlus and finally I saw it in ArcCatalog and could delete it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now finally I wanted to this for all tables which are not existing and have entries in GDB_OBJECTCLASSES.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the strange thing is again, I cannot see the tables in ArcCatalog after having them created in SQLPlus. Even after reconnecting several times. But in Oracle the tables are there. I am using ArcGIS Desktop 10.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 13:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697089#M39589</guid>
      <dc:creator>HildegardGerlach1</dc:creator>
      <dc:date>2012-12-06T13:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up orphaned records in the SDE repository tables</title>
      <link>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697090#M39590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;It's possible to remove SDE.GDB_* rows directly, but this should only be done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with close guidance from Tech Support.&amp;nbsp; I'd recommend you create an incident.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 15:08:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697090#M39590</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-12-06T15:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up orphaned records in the SDE repository tables</title>
      <link>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697091#M39591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option is to use sdetable -o delete to delete the tables, then use ArcCatalog to create a table of the same name, then use ArcCatalog to delete it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 03:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697091#M39591</guid>
      <dc:creator>MarkChilcott</dc:creator>
      <dc:date>2016-12-05T03:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up orphaned records in the SDE repository tables</title>
      <link>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697092#M39592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This won't work always, as if there are orphaned records, ArcGIS won't allow creation of a new Table with the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So creating the Table using SDE-Command line or from DBMS end and then using ArcCatalog to delete it will remove all orphaned records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 04:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697092#M39592</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2016-12-05T04:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up orphaned records in the SDE repository tables</title>
      <link>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697093#M39593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue where a dataset (SDE)&amp;nbsp;could not be registered because a feature class that was renamed suddenly disappeared in ArcCatalog. Reading this thread was very helpful and decided to ask our DBA to add the orphaned table in SQL. Some people commented that the table does not appear in ArcCatalog and would appear the following day. While others have said that you have to refresh the SDE connection or re-add the connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As expected I could not see the newly added table in ArcCatalog even after refreshing the SDE connection. I had to delete the current SDE connection and add&amp;nbsp;it again using the same credentials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table appeared in ArcCatalog and I was able to delete the table. Strange thing though is that the SDE dataset that I wanted to register was already registered as a version&amp;nbsp;but could not edit a feature class ( it&amp;nbsp;says I don't have the permission). I unregistered the dataset and registered it back and finally I was able to edit the feature class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 23:42:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/clean-up-orphaned-records-in-the-sde-repository/m-p/697093#M39593</guid>
      <dc:creator>Mary_AnnRaymundo</dc:creator>
      <dc:date>2019-01-08T23:42:41Z</dc:date>
    </item>
  </channel>
</rss>

