<?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 Can't see feature class in ArcSDE but it's in SQL Server DB in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339266#M19267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a feature class that through a series of unfortunate events, I can no longer see it in ArcCatalog.&amp;nbsp; However I have a backup in another geodatabase and when I try to copy the backup fc to my original geodatabase, it complains that it already exists.&amp;nbsp; And indeed it is visible in SQL Server Mgmt Studio, but doing 'sdelayer -o describe_long' or arcpy.ListFeatureClasses does not display the feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using SQL Server 2008 SP3 and ArcSDE v10.0.&amp;nbsp; The series of "unfortunate events" includes updating a field value using TSQL and running a delete_features tool against it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas how I can remove the feature class so that ArcSDE is no longer half aware of it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2012 19:56:37 GMT</pubDate>
    <dc:creator>ChrisBeaudette</dc:creator>
    <dc:date>2012-10-05T19:56:37Z</dc:date>
    <item>
      <title>Can't see feature class in ArcSDE but it's in SQL Server DB</title>
      <link>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339266#M19267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a feature class that through a series of unfortunate events, I can no longer see it in ArcCatalog.&amp;nbsp; However I have a backup in another geodatabase and when I try to copy the backup fc to my original geodatabase, it complains that it already exists.&amp;nbsp; And indeed it is visible in SQL Server Mgmt Studio, but doing 'sdelayer -o describe_long' or arcpy.ListFeatureClasses does not display the feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using SQL Server 2008 SP3 and ArcSDE v10.0.&amp;nbsp; The series of "unfortunate events" includes updating a field value using TSQL and running a delete_features tool against it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas how I can remove the feature class so that ArcSDE is no longer half aware of it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 19:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339266#M19267</guid>
      <dc:creator>ChrisBeaudette</dc:creator>
      <dc:date>2012-10-05T19:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't see feature class in ArcSDE but it's in SQL Server DB</title>
      <link>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339267#M19268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's a number of safe and less safe method to tackle this issue,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but the safest sequence would be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First off, make sure you have a current backup.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then use 'sdetable -o delete' (as the owner)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then use SQL to create a table with that name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then use Catalog to delete it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, you can copy the table back into the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Keep in mind that this will restore a single table.&amp;nbsp; If it was part of a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;versioned feature dataset, contact Tech Support for the best method&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to retain as much data as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 23:06:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339267#M19268</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-10-05T23:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can't see feature class in ArcSDE but it's in SQL Server DB</title>
      <link>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339268#M19269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;. . .&lt;BR /&gt;&lt;BR /&gt;First off, make sure you have a current backup.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Then use 'sdetable -o delete' (as the owner)&lt;BR /&gt;&lt;BR /&gt;. . .&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Vince.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tried this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;sdetable -o delete -t CityLimits -s SERVER_NAME -i sql:sqlserver:SERVER_NAME
 -D DATABASE_NAME -u TABLE_OWNER -p OWNER_PWD&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But got this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Delete table CityLimits! Are you sure? (Y/N): Y
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Underlying DBMS error (-51).
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Unable to delete table CityLimits.
Microsoft SQL Server Native Client 10.0: No value given for one or more required parameters.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI, not using a versioned db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Google did not turn up any ideas.&amp;nbsp; Any thoughts on that error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, looks like the table is actually visible w/ '-o describe'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339268#M19269</guid>
      <dc:creator>ChrisBeaudette</dc:creator>
      <dc:date>2021-12-11T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't see feature class in ArcSDE but it's in SQL Server DB</title>
      <link>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339269#M19270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does another table reference this table with a foreign key constraint?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've never seen that error before, but I don't use SQL-Server as often&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as other RDBMSes.&amp;nbsp; You probably want to check the database logs, and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if that does not provide more information, contact Tech Support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 10:30:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/can-t-see-feature-class-in-arcsde-but-it-s-in-sql/m-p/339269#M19270</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-10-09T10:30:59Z</dc:date>
    </item>
  </channel>
</rss>

