<?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 Join Properties — Primary key from source table, foreign key from destination table in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/join-properties-primary-key-from-source-table/idi-p/1474279</link>
    <description>&lt;P&gt;ArcGIS Pro 3.3.0; File Geodatabase.&lt;/P&gt;&lt;P&gt;I have two standalone tables called TABLE_A to TABLE_B. I join from the TABLE_A to TABLE_B using ID fields, creating a 1:M join .&lt;/P&gt;&lt;P&gt;In the &lt;U&gt;&lt;EM&gt;Catalog layer properties &amp;gt; Joins tab&lt;/EM&gt;&lt;/U&gt; of TABLE_A, the join is displayed as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Primary key: B_ID&lt;/LI&gt;&lt;LI&gt;Foreign key: A_ID&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1715909067434.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104427i82C4CEC8259485AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1715909067434.png" alt="Bud_0-1715909067434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Maybe I'm missing something, but that seems backwards. To me, the input table's field A_ID should be the primary key. And the join table's field B_ID should be the foreign key.&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1715909427043.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104428i3431CBE715D227EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1715909427043.png" alt="Bud_1-1715909427043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6353059140112w800h540r24" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6353059140112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6353059140112w800h540r24');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6353059140112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Could that be changed so that the primary and foreign keys are more intuitive? Like I said, let me know if I've misunderstood something.&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 10:10:27 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-05-21T10:10:27Z</dc:date>
    <item>
      <title>Join Properties — Primary key from source table, foreign key from destination table</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/join-properties-primary-key-from-source-table/idi-p/1474279</link>
      <description>&lt;P&gt;ArcGIS Pro 3.3.0; File Geodatabase.&lt;/P&gt;&lt;P&gt;I have two standalone tables called TABLE_A to TABLE_B. I join from the TABLE_A to TABLE_B using ID fields, creating a 1:M join .&lt;/P&gt;&lt;P&gt;In the &lt;U&gt;&lt;EM&gt;Catalog layer properties &amp;gt; Joins tab&lt;/EM&gt;&lt;/U&gt; of TABLE_A, the join is displayed as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Primary key: B_ID&lt;/LI&gt;&lt;LI&gt;Foreign key: A_ID&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1715909067434.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104427i82C4CEC8259485AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1715909067434.png" alt="Bud_0-1715909067434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Maybe I'm missing something, but that seems backwards. To me, the input table's field A_ID should be the primary key. And the join table's field B_ID should be the foreign key.&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1715909427043.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104428i3431CBE715D227EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1715909427043.png" alt="Bud_1-1715909427043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6353059140112w800h540r948" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6353059140112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6353059140112w800h540r948');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6353059140112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Could that be changed so that the primary and foreign keys are more intuitive? Like I said, let me know if I've misunderstood something.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 10:10:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/join-properties-primary-key-from-source-table/idi-p/1474279</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-05-21T10:10:27Z</dc:date>
    </item>
  </channel>
</rss>

