<?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: failed to delete domain from dataset,the domain is used as default domain in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89449#M5218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SQL from the following link can be used in finding which feature classes are using a specific domain in an ArcSDE 10 geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Discovering_domain_usage/009300001647000000/"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Discovering_domain_usage/009300001647000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following queries can be used with a 93 sde geodatabases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. This sql&amp;nbsp; lists all the domains that have been applied at the feature class level:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT DO.owner domain_Owner, FI.defaultdomainname domain_Name,OC.owner Object_Owner,OC.name Object_Name,FI.fieldname Field_Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.gdb_objectclasses OC,sde.gdb_fieldinfo FI, sde.gdb_domains DO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE OC.id=FI.classid AND DO.domainname=FI.defaultdomainname&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND FI.defaultdomainname IS NOT NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORDER BY domain_Owner, domain_Name,Object_Owner,Object_Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. This sql lists all the domains that have been applied at the subtype level:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT DM.owner domain_Owner,DM.domainname domain_Name,OC.name Object_Name,ST.subtypename Subtype_Name,AR.fieldname Field_Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.gdb_domains DM,sde.gdb_objectclasses OC,sde.gdb_subtypes ST,sde.gdb_attrrules AR,sde.gdb_validrules VR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE (AR.domainname=DM.domainname) AND (AR.ruleid=VR.id) AND (VR.classid = OC.id) AND(AR.subtype=ST.subtypecode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORDER BY domain_Owner,domain_Name,Object_Name,Subtype_Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;============&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2011 23:29:02 GMT</pubDate>
    <dc:creator>NanaDei</dc:creator>
    <dc:date>2011-10-28T23:29:02Z</dc:date>
    <item>
      <title>failed to delete domain from dataset,the domain is used as default domain</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89445#M5214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I remove domaisn from a SDE instance?&amp;nbsp; I am getting the following error emssage:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"failed to delete domain from dataset, the domain is used as default domain "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please advice&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 14:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89445#M5214</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2010-10-19T14:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: failed to delete domain from dataset,the domain is used as default domain</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89446#M5215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How can I remove domaisn from a SDE instance?&amp;nbsp; I am getting the following error emssage:&lt;BR /&gt;&lt;BR /&gt;"failed to delete domain from dataset, the domain is used as default domain "&lt;BR /&gt;&lt;BR /&gt;Please advice&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jose,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever figure this one out?&amp;nbsp; I'm having the same issue as we speak&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 13:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89446#M5215</guid>
      <dc:creator>NickKenczka</dc:creator>
      <dc:date>2011-06-15T13:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: failed to delete domain from dataset,the domain is used as default domain</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89447#M5216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same problem.&amp;nbsp;&amp;nbsp; Does anybody have any solutions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 20:49:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89447#M5216</guid>
      <dc:creator>claystevens</dc:creator>
      <dc:date>2011-10-27T20:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: failed to delete domain from dataset,the domain is used as default domain</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89448#M5217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using the domain on af dataset or feature class, then you can't delete it. You'll have to find where you are using it (i think there is a script for that) an change that before you can delete.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 05:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89448#M5217</guid>
      <dc:creator>HenrikSvenningsen</dc:creator>
      <dc:date>2011-10-28T05:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: failed to delete domain from dataset,the domain is used as default domain</title>
      <link>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89449#M5218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SQL from the following link can be used in finding which feature classes are using a specific domain in an ArcSDE 10 geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Discovering_domain_usage/009300001647000000/"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Discovering_domain_usage/009300001647000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following queries can be used with a 93 sde geodatabases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. This sql&amp;nbsp; lists all the domains that have been applied at the feature class level:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT DO.owner domain_Owner, FI.defaultdomainname domain_Name,OC.owner Object_Owner,OC.name Object_Name,FI.fieldname Field_Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.gdb_objectclasses OC,sde.gdb_fieldinfo FI, sde.gdb_domains DO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE OC.id=FI.classid AND DO.domainname=FI.defaultdomainname&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND FI.defaultdomainname IS NOT NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORDER BY domain_Owner, domain_Name,Object_Owner,Object_Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. This sql lists all the domains that have been applied at the subtype level:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT DM.owner domain_Owner,DM.domainname domain_Name,OC.name Object_Name,ST.subtypename Subtype_Name,AR.fieldname Field_Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM sde.gdb_domains DM,sde.gdb_objectclasses OC,sde.gdb_subtypes ST,sde.gdb_attrrules AR,sde.gdb_validrules VR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE (AR.domainname=DM.domainname) AND (AR.ruleid=VR.id) AND (VR.classid = OC.id) AND(AR.subtype=ST.subtypecode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORDER BY domain_Owner,domain_Name,Object_Name,Subtype_Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;============&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 23:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/failed-to-delete-domain-from-dataset-the-domain-is/m-p/89449#M5218</guid>
      <dc:creator>NanaDei</dc:creator>
      <dc:date>2011-10-28T23:29:02Z</dc:date>
    </item>
  </channel>
</rss>

