<?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: Editing data in a query layer in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/editing-data-in-a-query-layer/m-p/1551778#M40842</link>
    <description>&lt;P&gt;Also wondering this, why is it read only?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 12:15:46 GMT</pubDate>
    <dc:creator>GIS_Boras</dc:creator>
    <dc:date>2024-10-24T12:15:46Z</dc:date>
    <item>
      <title>Editing data in a query layer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/editing-data-in-a-query-layer/m-p/1377912#M38484</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.1; Oracle 18c 10.7.1 EGDB:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/what-is-a-query-layer-.htm" target="_self"&gt;Query Layer&lt;/A&gt; docs say:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;Query layers are read only when accessed directly from a database connection.&lt;/LI&gt;&lt;LI&gt;To &lt;STRONG&gt;edit&lt;/STRONG&gt; database tables that are accessed as a query layer, &lt;A href="https://pro.arcgis.com/en/pro-app/3.2/help/sharing/overview/web-feature-layer.htm" target="_blank" rel="noopener"&gt;share as a web feature layer&lt;/A&gt; and access from your portal. &lt;STRONG&gt;The query layer cannot contain virtual columns, &lt;SPAN class=""&gt;where&lt;/SPAN&gt; clauses, or joins.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What is the point of a query layer that doesn’t have virtual columns (I assume this means calculated columns in the SELECT clause, such as SQL expressions), where clauses, or joins? I imagine GROUP BY and other more advanced/database-specific clauses are not allowed either.&lt;/P&gt;&lt;P&gt;What does that leave in terms of SQL functionality? &lt;FONT face="courier new,courier" color="#0000FF"&gt;SELECT * FROM TABLE&lt;/FONT&gt; ? If yes, what benefit is there in having a &lt;FONT face="courier new,courier" color="#0000FF"&gt;SELECT *&lt;/FONT&gt; query layer? Why not just edit the underlying table directly?&lt;/P&gt;&lt;P&gt;Is this functionality intended for editing non-GDB tables, since non-GDB tables are not normally editable in Pro and are automatically treated as query layers?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In other words, I was surprised to learn that query layer data can be editable in Pro. But I don’t understand what the use case is when the SQL would be so limited. And I don’t understand why where clauses aren’t allowed. For example, outside of ArcGIS, Oracle database views are editable under certain conditions and I believe where clauses are allowed.&amp;nbsp;&lt;A href="https://stackoverflow.com/a/1653192/5576771" target="_self"&gt;In Oracle, is it possible to INSERT or UPDATE a record through a view?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Where clauses are allowed when editing a table. Why not allow where clauses in an editable query layer?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 02:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/editing-data-in-a-query-layer/m-p/1377912#M38484</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-05T02:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Editing data in a query layer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/editing-data-in-a-query-layer/m-p/1491719#M39782</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I’m still wondering about this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 13:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/editing-data-in-a-query-layer/m-p/1491719#M39782</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-06-13T13:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Editing data in a query layer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/editing-data-in-a-query-layer/m-p/1551778#M40842</link>
      <description>&lt;P&gt;Also wondering this, why is it read only?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 12:15:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/editing-data-in-a-query-layer/m-p/1551778#M40842</guid>
      <dc:creator>GIS_Boras</dc:creator>
      <dc:date>2024-10-24T12:15:46Z</dc:date>
    </item>
  </channel>
</rss>

