<?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 ArcGIS Server 10.3 Question about deleting SDE feature class in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225728#M8731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did something clumsy that I am looking to recover from.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm on ArcGIS server 10.3 using Microsoft SQL Server and I deleted an SDE feature class in SQL server but not in ArcCatalog.&amp;nbsp; Now ArcCatalog still sees the SDE layer but won't let me delete it.&amp;nbsp; How do I delete that feature now?&amp;nbsp; (I had thought it was just a table not a feature class which was why I did it in the first place in SQL server)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2015 11:54:04 GMT</pubDate>
    <dc:creator>JonMurphy</dc:creator>
    <dc:date>2015-06-25T11:54:04Z</dc:date>
    <item>
      <title>ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225728#M8731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did something clumsy that I am looking to recover from.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm on ArcGIS server 10.3 using Microsoft SQL Server and I deleted an SDE feature class in SQL server but not in ArcCatalog.&amp;nbsp; Now ArcCatalog still sees the SDE layer but won't let me delete it.&amp;nbsp; How do I delete that feature now?&amp;nbsp; (I had thought it was just a table not a feature class which was why I did it in the first place in SQL server)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 11:54:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225728#M8731</guid>
      <dc:creator>JonMurphy</dc:creator>
      <dc:date>2015-06-25T11:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225729#M8732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest calling Esri Tech Support, so that someone can guide you through the process of removing the orphaned entries from the database end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also take a Full database backup before trying anything on that database now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What is the version of the sde geodatabase (10.2.x, 10.3.x..)?&lt;/LI&gt;&lt;LI&gt;Do you have ArcSDE Command Line tools installed?&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:41:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225729#M8732</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2015-06-25T13:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225730#M8733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=2&amp;amp;f=1719&amp;amp;t=146743" title="http://forums.esri.com/Thread.asp?c=2&amp;amp;f=1719&amp;amp;t=146743"&gt;Delete all Tables in SDE / SQL Feature Class&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The short answer is try recreating the table in SQL with the same exact name.&amp;nbsp; Go into ArcCatalog and see if you can then delete it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would definitely create a backup before you move forward. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 14:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225730#M8733</guid>
      <dc:creator>StevenGraf1</dc:creator>
      <dc:date>2015-06-25T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225731#M8734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Honestly, I don't think that will work. Still give that a try and check..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 14:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225731#M8734</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2015-06-25T14:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225732#M8735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you run backups on your SQL database, why not restore it to the point just prior to your mistake and then delete the feature class?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 14:43:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225732#M8735</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2015-06-25T14:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225733#M8736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This &lt;EM&gt;is&lt;/EM&gt; the best practice technique for deleting objects that no longer exist.&amp;nbsp; You don't even have be too picky about "recreating" the table ("CREATE TABLE foo (objectid INTEGER NOT NULL)" will suffice).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, it won't recover the destroyed table the way going to backups would.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 14:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225733#M8736</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-06-25T14:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225734#M8737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I got a hold of Esri in Germany (I'm in Geneva) and this is what they told me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;So we've found the cause of the problem. If you delete a featureclass via SQL remain entries in at least 5 repository tables (GDB_ITEMS, SDE_LAYERS, SDE_TABLE_REGISTRY, SDE_COLUMN_REGISTRY, SDE_GEOMETRY_COLUMNS, etc.). The only way to be sure that all the data about your data gets properly removed is to use ArcCatalog. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;To remove all these entries manually is very laborious. So the easiest way is to re-create it (dummy table with the same name) and delete the featureclass via ArcCatalog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;So it seems to pretty simple. I just made &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.6666669845581px; line-height: 22px;"&gt;some&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt;"&gt; dummy tables in SQL with the same schemas.&amp;nbsp; They connected in ArcCatalog but now I'm getting a permission issue. Seems I don't have the right to delete this particular SDE feature classes now.&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the message&amp;nbsp; DELETE FAILED&lt;/P&gt;&lt;P&gt;Failed to delete the selected Objects&lt;/P&gt;&lt;P&gt;Must be the owner to perform this operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So some permission thing going on now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 07:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225734#M8737</guid>
      <dc:creator>JonMurphy</dc:creator>
      <dc:date>2015-06-29T07:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225735#M8738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using Catalog to delete the tables &lt;STRONG&gt;in a connection as the table owner&lt;/STRONG&gt;?&amp;nbsp; An owner should always have privileges to drop their own table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 15:20:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225735#M8738</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-06-29T15:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225736#M8739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I figured it out.&amp;nbsp; We micromanage our database and each one has it's own login and I was logged into the wrong one.&amp;nbsp; We have to use keypass as we have over 30-40 logins to manage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we should be good. Thanks for all the help everyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 16:02:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225736#M8739</guid>
      <dc:creator>JonMurphy</dc:creator>
      <dc:date>2015-06-29T16:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.3 Question about deleting SDE feature class</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225737#M8740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totally "unsupported", but you just delete all the rows from the SDE/GDB tables that reference the table and its columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a table that wouldn't delete after adding a dummy table back in. I ended up just reading the ESRI docs on SDE databases, finding all the tables and deleted all references out. Works perfectly, but I do spend a lot of time on the backend so I feel pretty comfortable under the hood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 19:33:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-3-question-about-deleting-sde/m-p/225737#M8740</guid>
      <dc:creator>JasonTipton</dc:creator>
      <dc:date>2015-06-29T19:33:30Z</dc:date>
    </item>
  </channel>
</rss>

