<?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: New Query Layer: Union in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/1561543#M45482</link>
    <description>&lt;P&gt;I ran into this today, and solved the problem by using UNION ALL instead of UNION, because I didn't have to worry about duplicate records, which was an impossible situation in this case.&amp;nbsp; At a high level, the problem occurred because a record had a SHAPE value of NULL.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 22:58:15 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2024-11-21T22:58:15Z</dc:date>
    <item>
      <title>New Query Layer: Union</title>
      <link>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/148185#M8388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to make a New Query Layer which combines multiple feature classes usin the Union command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get it to bring all the attributes from the layer into a table, but when I add the SHAPE field to the query I get an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Underlying DBMS error[ORA-01405: fetched column value is NULL]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS10.2 on an Oracle SDE database.&amp;nbsp; The schema for all five feature classes are the same. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 17:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/148185#M8388</guid>
      <dc:creator>JasonMoore</dc:creator>
      <dc:date>2015-09-29T17:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: New Query Layer: Union</title>
      <link>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/1271696#M44473</link>
      <description>&lt;P&gt;I know this post is ancient. But to anyone who has the same problem: you could try running the same UNION query in an SQL client like Toad or SQL Developer (Oracle) to see if you get the same error there. If you do, then it’s likely a problem with your SQL. If not, then it means the problem is probably in ArcGIS Pro.&amp;nbsp;&lt;BR /&gt;That approach might be useful for narrowing down the root cause.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2023 03:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/1271696#M44473</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-26T03:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: New Query Layer: Union</title>
      <link>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/1561543#M45482</link>
      <description>&lt;P&gt;I ran into this today, and solved the problem by using UNION ALL instead of UNION, because I didn't have to worry about duplicate records, which was an impossible situation in this case.&amp;nbsp; At a high level, the problem occurred because a record had a SHAPE value of NULL.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 22:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/1561543#M45482</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2024-11-21T22:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: New Query Layer: Union</title>
      <link>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/1684484#M45843</link>
      <description>&lt;P&gt;A somewhat related python script that dynamically unions two polygon feature classes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Blog -&amp;nbsp;&lt;A href="https://learn.finaldraftmapping.com/enhancing-the-arcgis-pro-definition-query-spatial-clause-with-arcpy-with-a-multi-layer-geometry-filter/" target="_self" rel="nofollow noopener noreferrer"&gt;ENHANCING THE ARCGIS PRO DEFINITION QUERY SPATIAL CLAUSE WITH ARCPY WITH A MULTI-LAYER GEOMETRY FILT...&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;YouTube -&amp;nbsp;&lt;A href="https://m.youtube.com/watch?v=WqbR_9XtYVc" target="_self" rel="nofollow noopener noreferrer"&gt;Enhance the ArcGIS Pro Definition Query Spatial Clause with ArcPy with a Multi-layer Geometry Filter...&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Udemy -&amp;nbsp;&lt;A href="https://www.udemy.com/course/arcgis-pro-definition-query-masterclass-with-arcpy-python/" target="_self" rel="nofollow noopener noreferrer"&gt;ArcGIS Pro Definition Query Masterclass with ArcPy and Python&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 14 Feb 2026 12:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/new-query-layer-union/m-p/1684484#M45843</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2026-02-14T12:03:13Z</dc:date>
    </item>
  </channel>
</rss>

