<?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: Update Domain in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539735#M30623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for the tip, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i was unable to configure SQL to run this query though i applied all the recommendations and settings provided in the help (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#/Configuring_the_Oracle_listener_to_use_ST_Geometry_and_ST_Raster/0092000001s6000000/"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#/Configuring_the_Oracle_listener_to_use_ST_Geometry_and_ST_Raster/0092000001s6000000/&lt;/A&gt;&lt;SPAN&gt; ). it used to be an easy thing when needing to query the domain owner .. or other similar attributes ..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 09:20:16 GMT</pubDate>
    <dc:creator>EyadHammad</dc:creator>
    <dc:date>2011-08-09T09:20:16Z</dc:date>
    <item>
      <title>Update Domain</title>
      <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539731#M30619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting the following message:&amp;nbsp; Failed to update one of the domains.&amp;nbsp; Must be the owner to perform this operation.&amp;nbsp; I am logged in as the data owner.&amp;nbsp; I have also tried as the sde user and get the same message.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 14:18:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539731#M30619</guid>
      <dc:creator>AmandaOShea</dc:creator>
      <dc:date>2010-06-29T14:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Update Domain</title>
      <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539732#M30620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has this been resolved? I'm receiving the same error (with ArcSDE 10). The only "fix" I could find was for ArcSDE 9.1 and older, and it fixes the owner column of the GDB_Domains table in SQL (which is not very helpful with the newer version).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 18:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539732#M30620</guid>
      <dc:creator>jaythyen</dc:creator>
      <dc:date>2011-06-20T18:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Update Domain</title>
      <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539733#M30621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i am facing the same problem. the data-owner is not being able to modify his domains, nor any other user can. please help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 08:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539733#M30621</guid>
      <dc:creator>EyadHammad</dc:creator>
      <dc:date>2011-08-08T08:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Update Domain</title>
      <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539734#M30622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would double-check to make sure who the owner of the domain is.&amp;nbsp; Take a look at the following link for the correct query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#//0092000013v7000000.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#//0092000013v7000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note:&amp;nbsp; The SQL Server query is for a repository owned by the DBO schema.&amp;nbsp; If your schema is owned by SDE, you will need to update the dbo owner to sde.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;--SQL Server
SELECT items.Name AS "Domain Name",
 items.Definition.value('(/*/Owner)[1]','nvarchar(max)') AS "Owner"
FROM &lt;STRONG&gt;sde.GDB_ITEMS&lt;/STRONG&gt; AS items INNER JOIN &lt;STRONG&gt;sde.GDB_ITEMTYPES&lt;/STRONG&gt; AS itemtypes
ON items.Type = itemtypes.UUID
WHERE itemtypes.Name IN ('Coded Value Domain', 'Range Domain')&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:24:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539734#M30622</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-11T23:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update Domain</title>
      <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539735#M30623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for the tip, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i was unable to configure SQL to run this query though i applied all the recommendations and settings provided in the help (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#/Configuring_the_Oracle_listener_to_use_ST_Geometry_and_ST_Raster/0092000001s6000000/"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#/Configuring_the_Oracle_listener_to_use_ST_Geometry_and_ST_Raster/0092000001s6000000/&lt;/A&gt;&lt;SPAN&gt; ). it used to be an easy thing when needing to query the domain owner .. or other similar attributes ..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 09:20:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539735#M30623</guid>
      <dc:creator>EyadHammad</dc:creator>
      <dc:date>2011-08-09T09:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update Domain</title>
      <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539736#M30624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would double-check to make sure who the owner of the domain is.&amp;nbsp; Take a look at the following link for the correct query:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#//0092000013v7000000.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#//0092000013v7000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Note:&amp;nbsp; The SQL Server query is for a repository owned by the DBO schema.&amp;nbsp; If your schema is owned by SDE, you will need to update the dbo owner to sde.&amp;nbsp; Ex:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;--SQL Server
SELECT items.Name AS "Domain Name",
 items.Definition.value('(/*/Owner)[1]','nvarchar(max)') AS "Owner"
FROM &lt;STRONG&gt;sde.GDB_ITEMS&lt;/STRONG&gt; AS items INNER JOIN &lt;STRONG&gt;sde.GDB_ITEMTYPES&lt;/STRONG&gt; AS itemtypes
ON items.Type = itemtypes.UUID
WHERE itemtypes.Name IN ('Coded Value Domain', 'Range Domain')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After execute the sql above I found the domain's owner is "ADMAG001". This is one user of SqlServer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The domains are created by import. All new created domain is "DBO". The new create domains can be updated and deleted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we update the owner of domain&amp;nbsp; to "DBO" and then can update/delete the domains?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes ,the sql is as this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;update sde.GDB_ITEMS set items.Definition.value('(/*/Owner)[1]','nvarchar(max)') ='DBO'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539736#M30624</guid>
      <dc:creator>baohuachu3</dc:creator>
      <dc:date>2021-12-11T23:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Update Domain</title>
      <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539737#M30625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What if the owner has left the company?&amp;nbsp; Is there a way to change the owner of a domain?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 22:05:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539737#M30625</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2013-01-16T22:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update Domain</title>
      <link>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539738#M30626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd like to update the owner of a domain using an update query in Oracle.&amp;nbsp; Does anyone have an update query for oracle which will change the Owner text node value for a given item name?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 17:32:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/update-domain/m-p/539738#M30626</guid>
      <dc:creator>TimDine</dc:creator>
      <dc:date>2013-04-24T17:32:02Z</dc:date>
    </item>
  </channel>
</rss>

