<?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: Create Database View in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122806#M48675</link>
    <description>&lt;P&gt;The specifics will vary between database platforms (MSSQL, PostgreSQL, MySQL, etc.), but domains tend to be stored in an informational schema in your database, and are not part of the table you're querying.&lt;/P&gt;&lt;P&gt;In order to return the domain codes, you'll need to query the table where your domains are kept, then find the domain in question, then pull out and parse the domain codes/values, and then join those into your table based on the domain value.&lt;/P&gt;&lt;P&gt;I'd attempt a specific example, but without knowing what DB platform you're on, it would probably not be very useful to you.&lt;/P&gt;</description>
    <pubDate>Sun, 05 Dec 2021 18:52:42 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2021-12-05T18:52:42Z</dc:date>
    <item>
      <title>Create Database View</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122781#M48671</link>
      <description>&lt;P&gt;I am trying to create a database view using the SQL statement but I have a coded domain within my data.&lt;/P&gt;&lt;P&gt;How can I&amp;nbsp; display the coded value instead of the code in the View.&lt;/P&gt;&lt;P&gt;This is the statement i use:&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT OBJECTID, SURVEY_ID_REF AS 'Survey ID Ref', SAMPLE_NAME AS 'Sample Name', SAMPLE_DESC AS 'Sample Description', SYMBOL AS 'Sample Type', SAMPLING_DATE AS 'Sampling Date', Shape, LAT AS 'Lat', LONG AS 'Long', LOCAL_EASTING AS 'Easting(m)', LOCAL_NORTHING AS 'Northing(m)', PENETRATION AS 'Penetration', RECOVERY AS 'Recovery', SURVEY_NAME AS 'Survey Name', CLIENT_NAME AS 'Client Name', COUNTRY_NAME AS 'Country Name', SURVEY_AREA_NAME AS 'Survey Area Name', SURVEY_PROJECT_GEODESY AS 'Project Geodesy', WATER_DEPTH AS 'Water Depth', FGS_Report_URL AS 'Report URL', FGS_Data_URL AS 'Data URL' &amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM MEI_Geotech_U1.GEOTECHNICAL_SAMPLE &amp;nbsp;&lt;/P&gt;&lt;P&gt;WHERE (COUNTRY_NAME = N'EG')&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 12:34:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122781#M48671</guid>
      <dc:creator>MohammedElsayed</dc:creator>
      <dc:date>2021-12-05T12:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122806#M48675</link>
      <description>&lt;P&gt;The specifics will vary between database platforms (MSSQL, PostgreSQL, MySQL, etc.), but domains tend to be stored in an informational schema in your database, and are not part of the table you're querying.&lt;/P&gt;&lt;P&gt;In order to return the domain codes, you'll need to query the table where your domains are kept, then find the domain in question, then pull out and parse the domain codes/values, and then join those into your table based on the domain value.&lt;/P&gt;&lt;P&gt;I'd attempt a specific example, but without knowing what DB platform you're on, it would probably not be very useful to you.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 18:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122806#M48675</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-12-05T18:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122809#M48676</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;for your reply, I am using MSSQL.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 20:52:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122809#M48676</guid>
      <dc:creator>MohammedElsayed</dc:creator>
      <dc:date>2021-12-05T20:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create Database View</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122889#M48688</link>
      <description>&lt;P&gt;This may help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/example-resolving-domain-codes-to-description-values.htm" target="_self"&gt;Example: Resolving domain codes to description values using SQL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is another &lt;STRONG&gt;workaround&lt;/STRONG&gt; for you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/data-management-questions/database-view-shows-coded-value-not-human-readable/td-p/552962" target="_self"&gt;Database View Shows Coded Value, not Human Readable?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 12:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-database-view/m-p/1122889#M48688</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2021-12-06T12:41:44Z</dc:date>
    </item>
  </channel>
</rss>

