<?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 Use SQL for field calculations on versioned data (option to move edits to base) in ArcGIS Enterprise Ideas</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idi-p/1149472</link>
    <description>&lt;P&gt;&lt;BR /&gt;Currently, in ArcGIS Pro, SQL field calculations are only possible for &lt;STRONG&gt;un&lt;/STRONG&gt;versioned EDGB data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;SQL expressions support faster calculations for feature services and enterprise geodatabases. Instead of performing calculations one feature or row at a time, a single request is sent to the server or database, resulting in faster calculations.&lt;/P&gt;&lt;P&gt;Only feature services and enterprise geodatabases support SQL expressions. For other formats, use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Python&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Arcade&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;expressions.&lt;/P&gt;&lt;P&gt;Using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SQL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Expression Type&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;parameter has the following limitations:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;- The option is only supported for&amp;nbsp;Db2,&amp;nbsp;Oracle,&amp;nbsp;PostgreSQL,&amp;nbsp;SAP HANA, and&amp;nbsp;SQL Server&amp;nbsp;enterprise geodatabases.&lt;BR /&gt;&amp;nbsp;- Calculating field values on joined tables is not supported.&lt;BR /&gt;&amp;nbsp;- &lt;STRONG&gt;Versioned&lt;/STRONG&gt; and archived data is &lt;STRONG&gt;not supported.&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;- The ability to&amp;nbsp;undo geoprocessing operations&amp;nbsp;is not supported.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It would be helpful if SQL field calculation support could be expanded to versioned data too.&lt;BR /&gt;Specifically, traditional versioning, &lt;STRONG&gt;with the option to move edits to base.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 08:31:03 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2022-03-02T08:31:03Z</dc:date>
    <item>
      <title>Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idi-p/1149472</link>
      <description>&lt;P&gt;&lt;BR /&gt;Currently, in ArcGIS Pro, SQL field calculations are only possible for &lt;STRONG&gt;un&lt;/STRONG&gt;versioned EDGB data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;SQL expressions support faster calculations for feature services and enterprise geodatabases. Instead of performing calculations one feature or row at a time, a single request is sent to the server or database, resulting in faster calculations.&lt;/P&gt;&lt;P&gt;Only feature services and enterprise geodatabases support SQL expressions. For other formats, use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Python&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Arcade&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;expressions.&lt;/P&gt;&lt;P&gt;Using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SQL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Expression Type&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;parameter has the following limitations:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;- The option is only supported for&amp;nbsp;Db2,&amp;nbsp;Oracle,&amp;nbsp;PostgreSQL,&amp;nbsp;SAP HANA, and&amp;nbsp;SQL Server&amp;nbsp;enterprise geodatabases.&lt;BR /&gt;&amp;nbsp;- Calculating field values on joined tables is not supported.&lt;BR /&gt;&amp;nbsp;- &lt;STRONG&gt;Versioned&lt;/STRONG&gt; and archived data is &lt;STRONG&gt;not supported.&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;- The ability to&amp;nbsp;undo geoprocessing operations&amp;nbsp;is not supported.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It would be helpful if SQL field calculation support could be expanded to versioned data too.&lt;BR /&gt;Specifically, traditional versioning, &lt;STRONG&gt;with the option to move edits to base.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 08:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idi-p/1149472</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-02T08:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1150304#M2743</link>
      <description>&lt;P&gt;Agreed!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 19:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1150304#M2743</guid>
      <dc:creator>John_Spence</dc:creator>
      <dc:date>2022-03-03T19:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1280047#M3271</link>
      <description>&lt;P&gt;It seems to me that it should be straightforward to implement this on&amp;nbsp;traditional versioned data &lt;U&gt;with the option to move edits to base&lt;/U&gt;. Since "the option to move edits to base" makes versioned data essentially behave the same as unversioned data -- just update the base table.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 04:53:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1280047#M3271</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-19T04:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1588576#M4104</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/604859"&gt;@SSWoodward&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like SQL field calculations will be supported for most datatypes in Pro 3.5. Will &lt;SPAN&gt;SQL field calculations&lt;/SPAN&gt; be supported for &lt;U&gt;versioned&lt;/U&gt; EGDB data too?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 16:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1588576#M4104</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2025-02-24T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1588626#M4106</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if the data is registered as versioned (traditional or branch) then the ability to undo is enabled.&lt;/P&gt;&lt;P&gt;if the data is not registered as versioned then undo is disabled, this is by design.&lt;/P&gt;&lt;P&gt;Branch Versioning, editing the data via SQL is not supported, it&amp;nbsp;&lt;SPAN&gt;follows a services-based architecture for viewing and editing data. &amp;nbsp;It facilitates long database transactions using feature services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pipeline-referencing-blog/sql-views-and-branch-versioning/ba-p/1203124" target="_blank"&gt;SQL Views and Branch Versioning - Esri Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Traditional Versioning, we can edit the data via SQL using the multi versioned view, see documentation below for more information.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/edit-versioned-data-using-sql-oracle.htm" target="_blank"&gt;Edit versioned data in Oracle using SQL—ArcMap | Documentation **&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;**this documentation is only available in the ArcMap docs, Pro works with traditonal version, but customers are being encouraged to move to Pro branch version, the new technology.&lt;BR /&gt;&lt;BR /&gt;If the data is not registered as traditonal version, then of course we can still edit the data, in this case we edit the featureclass base table directly via SQL.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 17:34:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1588626#M4106</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2025-02-24T17:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1588824#M4107</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Are you asking specifically about the Calculate Field GP tool?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 02:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1588824#M4107</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2025-02-25T02:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1588924#M4109</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/604859"&gt;@SSWoodward&lt;/a&gt;&amp;nbsp;Yes.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 13:53:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1588924#M4109</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2025-02-25T13:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1589065#M4110</link>
      <description>&lt;P&gt;Thanks for clarifying, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Using SQL expressions on versioned data is not a feature that is included in the enhancements planned for the calculate field GP tool in ArcGIS Pro 3.5&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 18:22:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1589065#M4110</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2025-02-25T18:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use SQL for field calculations on versioned data (option to move edits to base)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1589071#M4111</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Related:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/file-geodatabase-calculate-field-using-sql/idi-p/1279480/highlight/true" target="_self"&gt;File Geodatabase — Calculate field using SQL&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/mobile-geodatabase-calculate-field-using-sql/idi-p/1272248/highlight/true" target="_self"&gt;Mobile Geodatabase — Calculate field using SQL&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 25 Feb 2025 18:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/use-sql-for-field-calculations-on-versioned-data/idc-p/1589071#M4111</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2025-02-25T18:21:55Z</dc:date>
    </item>
  </channel>
</rss>

