<?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 Finding domain owners with SQL for DB2 Geodatabase in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/finding-domain-owners-with-sql-for-db2-geodatabase/m-p/833036#M4341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to f&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;ind domain owners and other things using SQL. I found&amp;nbsp;few examples with geodatabase system tables for SQL Server and&amp;nbsp;Oracle&amp;nbsp;but nothing for DB2. I'd appreciate it if anybody&amp;nbsp;provides an&amp;nbsp;example on how to use SQL with the&amp;nbsp;DB2 system tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Mar 2017 20:42:24 GMT</pubDate>
    <dc:creator>NatalieLepsky</dc:creator>
    <dc:date>2017-03-01T20:42:24Z</dc:date>
    <item>
      <title>Finding domain owners with SQL for DB2 Geodatabase</title>
      <link>https://community.esri.com/t5/geodatabase-questions/finding-domain-owners-with-sql-for-db2-geodatabase/m-p/833036#M4341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to f&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;ind domain owners and other things using SQL. I found&amp;nbsp;few examples with geodatabase system tables for SQL Server and&amp;nbsp;Oracle&amp;nbsp;but nothing for DB2. I'd appreciate it if anybody&amp;nbsp;provides an&amp;nbsp;example on how to use SQL with the&amp;nbsp;DB2 system tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 20:42:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/finding-domain-owners-with-sql-for-db2-geodatabase/m-p/833036#M4341</guid>
      <dc:creator>NatalieLepsky</dc:creator>
      <dc:date>2017-03-01T20:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Finding domain owners with SQL for DB2 Geodatabase</title>
      <link>https://community.esri.com/t5/geodatabase-questions/finding-domain-owners-with-sql-for-db2-geodatabase/m-p/833037#M4342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may point you in the correct direction:&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-db2/domain-storage-db2.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-db2/domain-storage-db2.htm"&gt;Domains in a geodatabase in DB2—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-db2/system-tables-db2.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-db2/system-tables-db2.htm"&gt;System tables of a geodatabase in DB2—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are probably going to have to join some of the GDB_ tables to get the desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a SQL sample for Oracle, you will want to verify the table names, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;select i.name “Domain Name”, t.name “Domain Type” from gdb_items i, gdb_itemtypes t where i.type = t.uuid and&amp;nbsp; t.name like '%Domain%' order by t.name,i.name asc;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 21:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/finding-domain-owners-with-sql-for-db2-geodatabase/m-p/833037#M4342</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2017-03-01T21:20:30Z</dc:date>
    </item>
  </channel>
</rss>

