<?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 ArcGIS Pro should allow you to see the SQL used to create a database view in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idi-p/971486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcGIS Desktop, you can use python or geoprocessing tools to create a database view via an SQL Query.&amp;nbsp; After the view has been created, it's useful to be able to see the SQL query used to create it.&amp;nbsp; In ArcCatalog, you could view this SQL by right clicking on the view, Properties, Definition tab. In ArcGIS Pro, there is no way to do this - once you've created the database view, you cannot go back in and see the SQL used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide some way of seeing the SQL used to create a database view in ArcGIS Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2020 05:36:14 GMT</pubDate>
    <dc:creator>TobiSellekaerts</dc:creator>
    <dc:date>2020-04-30T05:36:14Z</dc:date>
    <item>
      <title>ArcGIS Pro should allow you to see the SQL used to create a database view</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idi-p/971486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcGIS Desktop, you can use python or geoprocessing tools to create a database view via an SQL Query.&amp;nbsp; After the view has been created, it's useful to be able to see the SQL query used to create it.&amp;nbsp; In ArcCatalog, you could view this SQL by right clicking on the view, Properties, Definition tab. In ArcGIS Pro, there is no way to do this - once you've created the database view, you cannot go back in and see the SQL used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide some way of seeing the SQL used to create a database view in ArcGIS Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 05:36:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idi-p/971486</guid>
      <dc:creator>TobiSellekaerts</dc:creator>
      <dc:date>2020-04-30T05:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro should allow you to see the SQL used to create a database view</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971487#M9329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a direct solution to your problem, but I have found &lt;A href="https://dbeaver.io/"&gt;DBeaver database IDE&lt;/A&gt; a really nice interface to manage my PostgreSQL database including views. Added benefit is has syntax highlighting and automatic formatting of SQL, something missing in ArcCatalog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 06:52:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971487#M9329</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2020-04-30T06:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro should allow you to see the SQL used to create a database view</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971488#M9330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;‌ Miss Me?!?!?! I believe this is already offered...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/491680_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 11:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971488#M9330</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2020-05-11T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro should allow you to see the SQL used to create a database view</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971489#M9331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom - yeah, in all seriousness, I was wondering where you were&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; Glad to see you back!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This idea came from&amp;nbsp;&lt;A href="https://community.esri.com/message/923944-once-a-database-view-is-created-in-arcgis-pro-how-can-i-go-back-in-and-see-the-sql-that-was-used"&gt;https://community.esri.com/message/923944-once-a-database-view-is-created-in-arcgis-pro-how-can-i-go-back-in-and-see-the-sql-that-was-used&lt;/A&gt;&amp;nbsp;where they did discuss that the view can be added as a query layer.&amp;nbsp; It sounds like it doesn't show exactly the same syntax, and ideally we wouldn't have to add a layer to a map just to see this (you don't have to with ArcCatalog &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the heads up on statuses - it is always helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you're well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 12:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971489#M9331</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2020-05-11T12:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro should allow you to see the SQL used to create a database view</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971490#M9332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally got around to checking this, and the table properties (from within a map in Pro) do not show me what yours do.&amp;nbsp; Apologies in advance for the anonymization here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data type:&lt;/STRONG&gt; Query Table&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Server&lt;/STRONG&gt;: (sql server machine name)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Instance&lt;/STRONG&gt;: (database name)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client&lt;/STRONG&gt;: sqlserver&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;User&lt;/STRONG&gt;: (logged in database user)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt;:select Field1, Field2, Field3, Field4, Field5 from database.user.view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This query is simply 'select all the fields from the view'&lt;/P&gt;&lt;P&gt;What I need to see is the SQL used to generate the view itself, so something like this:&lt;/P&gt;&lt;P&gt;select table1.field1, table1,field2, table2.field3, table2.field4 from table1, table2...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 2.5 at the moment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 09:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971490#M9332</guid>
      <dc:creator>TobiSellekaerts</dc:creator>
      <dc:date>2020-07-10T09:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro should allow you to see the SQL used to create a database view</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971491#M9333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean the "Definition" TAB of the Properties dialogs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is indeed missing in Pro. However, I still think having a database IDE like DBeaver for this, is a reasonable alternative though, and comes with better and more options like auto-formatting etc. The display in ArcCatalog is pretty much unusable for complex view definitions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/499880_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/499881_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 09:48:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/971491#M9333</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2020-07-10T09:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro should allow you to see the SQL used to create a database view - Status changed to: Implemented</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/1010348#M14589</link>
      <description>&lt;P&gt;Implemented in ArcGIS Pro 2.7.&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;LI-MESSAGE title="Ideas in ArcGIS Pro 2.7: Something to Celebrate" uid="1009452" url="https://community.esri.com/t5/arcgis-ideas-blog/ideas-in-arcgis-pro-2-7-something-to-celebrate/m-p/1009452#U1009452" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also check out &lt;A href="https://pro.arcgis.com/en/pro-app/latest/get-started/whats-new-in-arcgis-pro.htm" target="_blank" rel="noopener"&gt;what's new in ArcGIS Pro 2.7&lt;/A&gt;!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 21:18:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/1010348#M14589</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2020-12-16T21:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro should allow you to see the SQL used to create a database view</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/1319878#M25995</link>
      <description>&lt;P&gt;Hi, I created a view in a &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-view.htm" target="_blank" rel="noopener"&gt;file gdb&lt;/A&gt; and I can't see the definition after the fact. Are there plans to add this functionality to file GDBs?&lt;/P&gt;&lt;P&gt;I can see the definition in mobile GDBs and Enterprise GDBs, but not in a file GDB. (Pro 2.9.5)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_0-1692306706741.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78418i64A097997BF79BBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredBaldenweck_0-1692306706741.png" alt="AlfredBaldenweck_0-1692306706741.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;AlfredBaldenweck_0-1692306706741.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 21:27:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/1319878#M25995</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2023-08-17T21:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro should allow you to see the SQL used to create a database view</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/1319892#M25996</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/458875"&gt;@AlfredBaldenweck&lt;/a&gt;&amp;nbsp;Unfortunately there was a regression. See&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/view-sql-definition-of-fgdb-database-views/idi-p/1238066" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-ideas/view-sql-definition-of-fgdb-database-views/idi-p/1238066&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see you're still on 2.9.5. The bug on the support site indicates that it was patched in 2.9.8 so if you install the latest 2.9.x patch (10 at this point I believe), this should be resolved:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/a-view-definition-is-not-displayed-for-file-geodatabase-bug-000154284" target="_blank"&gt;https://support.esri.com/en-us/bug/a-view-definition-is-not-displayed-for-file-geodatabase-bug-000154284&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 21:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-should-allow-you-to-see-the-sql-used-to/idc-p/1319892#M25996</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2023-08-17T21:54:21Z</dc:date>
    </item>
  </channel>
</rss>

