<?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 Easier query layer creation in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idi-p/1276490</link>
    <description>&lt;P&gt;I find query layers are a bit fiddly to set up. They take just a little bit longer to create than I'd like, so I don't use them as often as I should.&lt;/P&gt;&lt;P&gt;Believe it or not, creating a database view using a SQL client is often faster:&lt;/P&gt;&lt;PRE&gt;create or replace view &lt;FONT color="#0000FF"&gt;ad_hoc_vw&lt;/FONT&gt; as select * from roads where ...&amp;nbsp; &lt;/PRE&gt;&lt;P&gt;It seems kind of backwards to create database views for ad-hoc analysis. That's where query layers ought to come in, since they're temporary in the map, not persistent in the database like views.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;Part of the problem is that we need to connect to the database in question when creating the query layer. That takes ~20 seconds, which is an eternity when you're in a hurry.&lt;/P&gt;&lt;P&gt;Could the Create Query Layer window be changed so that it re-uses existing database connections that are already connected in Catalog? In other words, why do we need to re-connect when there is already an open connection?&lt;/P&gt;&lt;P&gt;Is there anything else that can be done to make creating a query layer easier/more streamlined, to facilitate fast-paced ad-hoc analysis?&lt;/P&gt;&lt;P&gt;Related:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/virtual-attribute-fields-ad-hoc/idi-p/1276471#:~:text=Set%20up%20is-,surprisingly%20fiddly,-/slow." target="_self"&gt;Virtual Attribute Fields (ad hoc)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 00:50:33 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-04-14T00:50:33Z</dc:date>
    <item>
      <title>Easier query layer creation</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idi-p/1276490</link>
      <description>&lt;P&gt;I find query layers are a bit fiddly to set up. They take just a little bit longer to create than I'd like, so I don't use them as often as I should.&lt;/P&gt;&lt;P&gt;Believe it or not, creating a database view using a SQL client is often faster:&lt;/P&gt;&lt;PRE&gt;create or replace view &lt;FONT color="#0000FF"&gt;ad_hoc_vw&lt;/FONT&gt; as select * from roads where ...&amp;nbsp; &lt;/PRE&gt;&lt;P&gt;It seems kind of backwards to create database views for ad-hoc analysis. That's where query layers ought to come in, since they're temporary in the map, not persistent in the database like views.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;Part of the problem is that we need to connect to the database in question when creating the query layer. That takes ~20 seconds, which is an eternity when you're in a hurry.&lt;/P&gt;&lt;P&gt;Could the Create Query Layer window be changed so that it re-uses existing database connections that are already connected in Catalog? In other words, why do we need to re-connect when there is already an open connection?&lt;/P&gt;&lt;P&gt;Is there anything else that can be done to make creating a query layer easier/more streamlined, to facilitate fast-paced ad-hoc analysis?&lt;/P&gt;&lt;P&gt;Related:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/virtual-attribute-fields-ad-hoc/idi-p/1276471#:~:text=Set%20up%20is-,surprisingly%20fiddly,-/slow." target="_self"&gt;Virtual Attribute Fields (ad hoc)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 00:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idi-p/1276490</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-14T00:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Query Layer — Reuse open Catalog database connection to save time</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276660#M24329</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;The New Query Layer dialog does show database connections from the Catalog pane.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TanuHoque_0-1680890666294.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67515i975FE0902CBA46A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TanuHoque_0-1680890666294.png" alt="TanuHoque_0-1680890666294.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;are you not seeing them? or are they not working for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 18:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276660#M24329</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2023-04-07T18:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Query Layer — Reuse open Catalog database connection to save time</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276667#M24330</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&amp;nbsp;I can &lt;U&gt;&lt;EM&gt;see&lt;/EM&gt;&lt;/U&gt;&amp;nbsp;the .SDE connections in the&amp;nbsp;&lt;SPAN&gt;New Query Layer dialog, yes. But those connections are not open/connected. I would need to reconnect to a .SDE connection in the&amp;nbsp;New Query Layer dialog in order to use it to create a query layer. I want to avoid the reconnecting step since connecting takes too long. The connection would ideally be pre-connected in the New Query Layer dialog, if it’s already connected in catalog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ArcGIS Pro 2.6.8&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 18:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276667#M24330</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-07T18:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Query Layer — Reuse open Catalog database connection to save time</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276669#M24331</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;Ah, I see... I'd expect it be connected from that dialog too, if you already have it connected from the Catalog pane. I will bring it to the team.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 18:48:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276669#M24331</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2023-04-07T18:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Query Layer — Reuse open Catalog database connection to save time</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276731#M24335</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, maybe the slowness happens when the Create Query Layer dialog populates the List of Tables section:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1680910466791.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67535i1365B4C6D23B11FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1680910466791.png" alt="Bud_1-1680910466791.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I suppose I could just ignore the fact that the List of Tables takes 20 seconds to populate. Since I don't usually need that list; I just write the SQL manually in the Query section.&lt;BR /&gt;I didn't realize until now that I can write SQL in the Query section &lt;U&gt;&lt;EM&gt;while&lt;/EM&gt;&lt;/U&gt; the List of Tables is thinking.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2023 00:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276731#M24335</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-08T00:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Query Layer — Reuse open Catalog database connection to save time</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276734#M24336</link>
      <description>&lt;P&gt;Some changes that could be made to that dialog that would save time:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Don't force me to click Validate. Let me attempt to create a query layer using the inputs that I've entered.&lt;/LI&gt;&lt;LI&gt;Automatically use the OBJECTID column, if it exists and is an integer:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1680910942193.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67536iADF1FC07B64A90EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1680910942193.png" alt="Bud_0-1680910942193.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Any other ideas?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Does&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10780"&gt;@Luke_Pinner&lt;/a&gt;&amp;nbsp;have any ideas for making query layers more practical to create/use? Related: &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/virtual-attributes-ad-hoc/idc-p/1277167/highlight/true#M24378:~:text=query%20layers%20are%20fiddly" target="_self"&gt;query layers are fiddly&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 04:14:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276734#M24336</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-04-14T04:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Query Layer — Reuse open Catalog database connection to save time</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276737#M24338</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;With one of the newer Pro versions, you have the option to list tables only when you need them. This should help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TanuHoque_0-1680911744036.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67537i7ECC44D2F69289AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TanuHoque_0-1680911744036.png" alt="TanuHoque_0-1680911744036.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 23:56:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1276737#M24338</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2023-04-07T23:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Easier query layer creation - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1296027#M25274</link>
      <description>&lt;P&gt;Thanks for all the ideas&amp;nbsp;&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;The original Idea here seems to have been cleared up in the comments. The&amp;nbsp;&lt;SPAN&gt;Create Query Layer window re-uses existing database connections that are already connected in Catalog.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see that you've added a few new additional ideas on in the comments.&amp;nbsp;&amp;nbsp;Additional Ideas should be posted on their own to collect kudos and allow us to understand what specific ideas users are supporting when they give kudos to them.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If there is a different specific Idea you'd like to refocus this post on, go ahead and edit it into the top post here, otherwise, this Idea should be closed as Already Offered.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 21:08:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1296027#M25274</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2023-06-05T21:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Easier query layer creation</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1296438#M25301</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;Feel free to close. I submitted a separate idea:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/query-layer-make-validation-optional-to-save-time/idi-p/1296437/jump-to/first-unread-message" target="_self"&gt;Query Layer — Make validation optional to save time&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 19:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1296438#M25301</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-06-06T19:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Easier query layer creation</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1296444#M25303</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 19:30:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1296444#M25303</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2023-06-06T19:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Easier query layer creation - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1296445#M25304</link>
      <description />
      <pubDate>Tue, 06 Jun 2023 19:30:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/easier-query-layer-creation/idc-p/1296445#M25304</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2023-06-06T19:30:51Z</dc:date>
    </item>
  </channel>
</rss>

