<?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 Database Views vs Joins in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/database-views-vs-joins/m-p/598950#M3023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to share an issue with the community that we just worked thru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After our open data site went live, one of our customers point out that all our field names in our parcels layer were wrong. &amp;nbsp;Instead of names like gpin, taxmapnumb, source, etc, &amp;nbsp;the name were gisdbvecto, gisdbvec_1, gisdbvec_2, and so on. &amp;nbsp;The funny thing was that the data tab in both ArcGIS Online and open data should the names correctly. &amp;nbsp;After working with ESRI support and doing some research, I found the problem was the join. &amp;nbsp;We had joined our ownership table to the parcels layer. &amp;nbsp;This caused the names to be gisdb.vector.gpin which was then truncated to gisdbvecto since of the character limit with shapefiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution to the problem was to create a database view instead of doing a join the mxd. &amp;nbsp;In a view, you can rename fields to anything you want which prevents extend name. &amp;nbsp;So if you are serving up your data with joins, you might want to check it (ie download it via open data and open it in ArcMap). &amp;nbsp;You might need to create a view instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2017 13:38:56 GMT</pubDate>
    <dc:creator>KevinDunlop</dc:creator>
    <dc:date>2017-04-25T13:38:56Z</dc:date>
    <item>
      <title>Database Views vs Joins</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/database-views-vs-joins/m-p/598950#M3023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to share an issue with the community that we just worked thru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After our open data site went live, one of our customers point out that all our field names in our parcels layer were wrong. &amp;nbsp;Instead of names like gpin, taxmapnumb, source, etc, &amp;nbsp;the name were gisdbvecto, gisdbvec_1, gisdbvec_2, and so on. &amp;nbsp;The funny thing was that the data tab in both ArcGIS Online and open data should the names correctly. &amp;nbsp;After working with ESRI support and doing some research, I found the problem was the join. &amp;nbsp;We had joined our ownership table to the parcels layer. &amp;nbsp;This caused the names to be gisdb.vector.gpin which was then truncated to gisdbvecto since of the character limit with shapefiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution to the problem was to create a database view instead of doing a join the mxd. &amp;nbsp;In a view, you can rename fields to anything you want which prevents extend name. &amp;nbsp;So if you are serving up your data with joins, you might want to check it (ie download it via open data and open it in ArcMap). &amp;nbsp;You might need to create a view instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/database-views-vs-joins/m-p/598950#M3023</guid>
      <dc:creator>KevinDunlop</dc:creator>
      <dc:date>2017-04-25T13:38:56Z</dc:date>
    </item>
  </channel>
</rss>

