<?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>idea Use database view as domain in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/use-database-view-as-domain/idi-p/1297213</link>
    <description>&lt;P&gt;It would be great if we could use the rows from a database view as a domain, as an optional alternative to storing domain values in the GDB_ITEMS XML table.&lt;/P&gt;&lt;P&gt;For example, a SQL database view that gets the rows from this table, where WMS_DIVISION = ROADS. Use those rows as the domain values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1686241178030.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72680iD854F77CFED68452/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1686241178030.png" alt="Bud_0-1686241178030.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;select distinct&lt;BR /&gt;&amp;nbsp; &amp;nbsp; type as &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;code&lt;/FONT&gt;&lt;/STRONG&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; wms_classification as &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;description&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;from&lt;BR /&gt;&amp;nbsp; &amp;nbsp; atn_type_translation&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;where&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp; &amp;nbsp; wms_division = 'ROADS'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1686241415831.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72682i45B91DFA58C434B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1686241415831.png" alt="Bud_1-1686241415831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Related:&amp;nbsp;&lt;A href="https://community.esri.com/t5/data-management-ideas/use-sde-table-as-domain-table/idc-p/1297198" target="_self"&gt;Use SDE table as Domain Table&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 16:31:21 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-06-08T16:31:21Z</dc:date>
    <item>
      <title>Use database view as domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/use-database-view-as-domain/idi-p/1297213</link>
      <description>&lt;P&gt;It would be great if we could use the rows from a database view as a domain, as an optional alternative to storing domain values in the GDB_ITEMS XML table.&lt;/P&gt;&lt;P&gt;For example, a SQL database view that gets the rows from this table, where WMS_DIVISION = ROADS. Use those rows as the domain values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1686241178030.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72680iD854F77CFED68452/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1686241178030.png" alt="Bud_0-1686241178030.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;select distinct&lt;BR /&gt;&amp;nbsp; &amp;nbsp; type as &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;code&lt;/FONT&gt;&lt;/STRONG&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; wms_classification as &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;description&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;from&lt;BR /&gt;&amp;nbsp; &amp;nbsp; atn_type_translation&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;where&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp; &amp;nbsp; wms_division = 'ROADS'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1686241415831.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72682i45B91DFA58C434B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1686241415831.png" alt="Bud_1-1686241415831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Related:&amp;nbsp;&lt;A href="https://community.esri.com/t5/data-management-ideas/use-sde-table-as-domain-table/idc-p/1297198" target="_self"&gt;Use SDE table as Domain Table&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/use-database-view-as-domain/idi-p/1297213</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-06-08T16:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Use database view as domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/use-database-view-as-domain/idc-p/1386871#M28702</link>
      <description>&lt;P&gt;If performance of the view is ever a concern, then in enterprise geodatabases, we have options available, such as materialized views in Oracle and indexed views in SQL Server.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 17:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/use-database-view-as-domain/idc-p/1386871#M28702</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-26T17:01:20Z</dc:date>
    </item>
  </channel>
</rss>

