<?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 Database Views: Modify SQL definition in Catalog in Data Management Ideas</title>
    <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idi-p/1226641</link>
    <description>&lt;P&gt;&lt;EM&gt;Edited as suggested by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regarding database views in geodatabases:&lt;/P&gt;&lt;P&gt;It would be helpful if we could edit the SQL view definition in ArcGIS Pro/Catalog. We can &lt;EM&gt;create &lt;/EM&gt;database views in ArcGIS Pro. Why not let us update the SQL in Pro too?&lt;/P&gt;&lt;P&gt;Edit: It should also be possible to modify the SQL of a &lt;U&gt;&lt;EM&gt;broken&lt;/EM&gt;&lt;/U&gt; view. Related: &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/modifying-existing-sql-expression-disables/m-p/1255524" target="_self"&gt;Display database view SQL definition in Catalog properties, even when view is broken&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRIKE&gt;Edit&lt;STRONG&gt;:&lt;/STRONG&gt; It turns out it's possible to replace a database view using the Create Database View geoprocessing tool. Just use the same name as the existing view. See my &lt;A href="https://community.esri.com/t5/data-management-ideas/database-views-edit-sql-definition-in-catalog/idc-p/1277895/highlight/true#M2154" target="_self"&gt;comment below&lt;/A&gt; for details.&lt;/STRIKE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 20:08:33 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-06-02T20:08:33Z</dc:date>
    <item>
      <title>Database Views: Modify SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idi-p/1226641</link>
      <description>&lt;P&gt;&lt;EM&gt;Edited as suggested by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regarding database views in geodatabases:&lt;/P&gt;&lt;P&gt;It would be helpful if we could edit the SQL view definition in ArcGIS Pro/Catalog. We can &lt;EM&gt;create &lt;/EM&gt;database views in ArcGIS Pro. Why not let us update the SQL in Pro too?&lt;/P&gt;&lt;P&gt;Edit: It should also be possible to modify the SQL of a &lt;U&gt;&lt;EM&gt;broken&lt;/EM&gt;&lt;/U&gt; view. Related: &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/modifying-existing-sql-expression-disables/m-p/1255524" target="_self"&gt;Display database view SQL definition in Catalog properties, even when view is broken&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRIKE&gt;Edit&lt;STRONG&gt;:&lt;/STRONG&gt; It turns out it's possible to replace a database view using the Create Database View geoprocessing tool. Just use the same name as the existing view. See my &lt;A href="https://community.esri.com/t5/data-management-ideas/database-views-edit-sql-definition-in-catalog/idc-p/1277895/highlight/true#M2154" target="_self"&gt;comment below&lt;/A&gt; for details.&lt;/STRIKE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 20:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idi-p/1226641</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-06-02T20:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Database View: See and edit SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1226696#M2019</link>
      <description>&lt;P&gt;Thanks for the Idea&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I think the idea is well placed here in the Data Management Ideas Exchange.&amp;nbsp; I've altered the label to 'Filtering - Relating Data', instead of Geodatabase, as it better matched the label description.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A title="Link to label descriptions" href="https://community.esri.com/t5/data-management-documents/data-management-labels/ta-p/1000520/jump-to/first-unread-message" target="_blank" rel="noopener"&gt;Link to Label Descriptions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 17:51:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1226696#M2019</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2022-10-28T17:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Database View: See and edit SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1226722#M2020</link>
      <description>&lt;P&gt;The viewing part was implemented in 2.7 thanks to this idea:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idi-p/971486" target="_blank"&gt;ArcGIS Pro should allow you to see the SQL used to... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3:42 in this video:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=Bp_3ewY27u0&amp;amp;t=222s" target="_blank" rel="noopener"&gt;Ideas in ArcGIS Pro 2.7 - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this idea would be about editing that query.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 18:46:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1226722#M2020</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-10-28T18:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Database View: Edit SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1238068#M2047</link>
      <description>&lt;P&gt;This idea is especially applicable to FGDB views. We need to be able to modify existing FGDB views in Catalog, since it's not possible to alter them in an SQL client (FGDBs are inaccessible outside of ArcObjects, unlike EGDBs).&lt;/P&gt;&lt;P&gt;We don't want to delete and recreate views every time we need to make a minor change to the SQL definition.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 01:37:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1238068#M2047</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-12-06T01:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views: Edit SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1255400#M2085</link>
      <description>&lt;P&gt;I wish I could up vote this by about 20.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;ESRI, WHY isn't this an existing feature?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 16:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1255400#M2085</guid>
      <dc:creator>Jennifer_Parmeley</dc:creator>
      <dc:date>2023-02-06T16:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views: Edit SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1277895#M2154</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.1.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It looks like it's possible to replace a database view using the Create Database View geoprocessing tool. The key is to create a view using the same name as the existing view.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1681318636521.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67780i4FE6DAC161F943EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1681318636521.png" alt="Bud_0-1681318636521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That will replace the existing view. (Although it's unclear if it modifies the existing view or just deletes it and creates a new one.)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With that said, I think this idea is still valid. It would be best if we could edit the SQL definition of the existing view from the view's properties in Catalog:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1681318849834.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67782i60A304FA6E664BEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1681318849834.png" alt="Bud_1-1681318849834.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That would be more intuitive.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 21:05:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1277895#M2154</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-12T21:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views: Edit SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1277956#M2155</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;, This workflow will work as long as you have the 'Allow geoprocessing tools to overwrite existing datasets' option clicked on in the geoprocessing page of the options menu.&lt;BR /&gt;&lt;BR /&gt;Without this clicked, the workflow will fail with 'Table already exists'.&amp;nbsp; The GP tool is creating a brand new view and not editing the original in place.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 19:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1277956#M2155</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2023-04-12T19:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views: Modify SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1331365#M2271</link>
      <description>&lt;P&gt;A much needed feature...&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 08:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1331365#M2271</guid>
      <dc:creator>GillesLavandier</dc:creator>
      <dc:date>2023-09-22T08:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views: Modify SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1603791#M2514</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;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;Additionally, doing this still requires you to remove and re-add the layer to a map in order to implement the updated query. Not the end of the world but it can be frustraing.&lt;/P&gt;&lt;P&gt;I like this idea and would love to see it implemented, especially if it would automatically update the layer in the map. I'm guessing the limitation will be that it will require the view to be registered but that seems reasonable to me at least.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 15:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1603791#M2514</guid>
      <dc:creator>ZachBodenner</dc:creator>
      <dc:date>2025-04-08T15:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views: Modify SQL definition in Catalog</title>
      <link>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1696207#M2612</link>
      <description>&lt;P&gt;Stuck here myself, being used to sql server development its insane we cannot update a view in a gdb. Thanks for making me fix symbology classes like for the 5th time when I "change" the field because I made the cardinal sin of forgetting a left in my join due to the fact no other relate/join/relationship class to make this public map work allows the data to be where it is needed for the symbols but manually hacking a view works.&amp;nbsp; But only if you do it perfectly, else back to step 1 again, enjoy. And I absolutely love&amp;nbsp;Thanks for making the class auto-update without even asking, including changing all the labeling and class ranges. Glad its only 5 fields, if this were a complicated map of many coloration based on attribute values I would seek out any other&amp;nbsp; GIS implementation on the planet to use.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 18:03:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/database-views-modify-sql-definition-in-catalog/idc-p/1696207#M2612</guid>
      <dc:creator>BrianMcKeon</dc:creator>
      <dc:date>2026-04-14T18:03:11Z</dc:date>
    </item>
  </channel>
</rss>

