<?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: Difference between Make Query Table vs. Make Table View in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1266863#M66537</link>
    <description>&lt;P&gt;To operate tools on data stored on disk you always have to create in memory definitions or bitmaps first.&lt;/P&gt;&lt;P&gt;MakeTableView is much simpler, works on one table and is more reliable. It can make a subset of records and a subset of fields, but sometimes other tools get confused eg Intersect overlays.&lt;/P&gt;&lt;P&gt;MakeQueryTable attempts to set up a relational database expression across several tables in the same database. It may work for sample sets, but never works for me with real sized datasets. After trying it for a while I avoid it at all costs. Often it just hangs or crashes after hours.&lt;/P&gt;&lt;P&gt;So what to do? If you are using Model Builder or are trying to do interactive selections you are stuck with it. Simplify and reduce first by exporting to a temporary featureclass or partition into smaller sets and repeat.&lt;/P&gt;&lt;P&gt;If you are using Python there are much better options. You can copy the data straight into Numpy or Pandas and run python functions. Note SQL expressions have to be all in one database. Break this by extracting the whole dataset use a SearchCursor() then use python set functions to do joins. This means you are not limited to one database. You can use python dictionaries that are very fast lookups and can be very large say 1 million records. I often use list comprehensions with a SearchCursor to extract the table. Then loop through another table in another database with the dictionary. Alternatively I use a huge list with an SQL IN clause to do the selection, make sure the field is indexed in the database and you will have your selection in milliseconds compared to hours with MakeQueryView.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Mar 2023 23:47:24 GMT</pubDate>
    <dc:creator>KimOllivier</dc:creator>
    <dc:date>2023-03-11T23:47:24Z</dc:date>
    <item>
      <title>Difference between Make Query Table vs. Make Table View</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1266712#M66522</link>
      <description>&lt;P&gt;What's the difference between the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/make-query-table.htm" target="_self"&gt;Make Query Table&lt;/A&gt; vs. &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/make-table-view.htm" target="_self"&gt;Make Table View&lt;/A&gt;&amp;nbsp;GP tools?&lt;/P&gt;&lt;P&gt;I can see that they have slightly different parameters. But generally speaking, they look like they do the same thing. Are there different use cases for those two tools?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1678485930572.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65006iA10EEE90F60AC5F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1678485930572.png" alt="Bud_0-1678485930572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1678485952089.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65007i623C6547E0AE67BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1678485952089.png" alt="Bud_1-1678485952089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 22:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1266712#M66522</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-10T22:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Make Query Table vs. Make Table View</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1266863#M66537</link>
      <description>&lt;P&gt;To operate tools on data stored on disk you always have to create in memory definitions or bitmaps first.&lt;/P&gt;&lt;P&gt;MakeTableView is much simpler, works on one table and is more reliable. It can make a subset of records and a subset of fields, but sometimes other tools get confused eg Intersect overlays.&lt;/P&gt;&lt;P&gt;MakeQueryTable attempts to set up a relational database expression across several tables in the same database. It may work for sample sets, but never works for me with real sized datasets. After trying it for a while I avoid it at all costs. Often it just hangs or crashes after hours.&lt;/P&gt;&lt;P&gt;So what to do? If you are using Model Builder or are trying to do interactive selections you are stuck with it. Simplify and reduce first by exporting to a temporary featureclass or partition into smaller sets and repeat.&lt;/P&gt;&lt;P&gt;If you are using Python there are much better options. You can copy the data straight into Numpy or Pandas and run python functions. Note SQL expressions have to be all in one database. Break this by extracting the whole dataset use a SearchCursor() then use python set functions to do joins. This means you are not limited to one database. You can use python dictionaries that are very fast lookups and can be very large say 1 million records. I often use list comprehensions with a SearchCursor to extract the table. Then loop through another table in another database with the dictionary. Alternatively I use a huge list with an SQL IN clause to do the selection, make sure the field is indexed in the database and you will have your selection in milliseconds compared to hours with MakeQueryView.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2023 23:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1266863#M66537</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2023-03-11T23:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Make Query Table vs. Make Table View</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1267091#M66562</link>
      <description>&lt;P&gt;The answer lies mostly in the intro paragraph for each tool.&amp;nbsp; Underlining is my emphasis.&lt;/P&gt;&lt;P&gt;From &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/make-table-view.htm" target="_blank"&gt;Make Table View (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Creates a table view from &lt;U&gt;an input table&lt;/U&gt; or feature class....&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;From &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/make-query-table.htm" target="_blank"&gt;Make Query Table (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Applies an SQL query to a database, and the results are represented in either a layer or table view. The query can be used to &lt;U&gt;join several tables&lt;/U&gt; or return a subset of fields or rows from the original data in the database.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Make Table View supports a broader range of data sources and is much more efficient because it is a one-to-one tool, i.e., one table per table view.&amp;nbsp; Make Query Table allows for joining tables, but that expanded functionality comes at the cost of fewer supported data sources and less performance for simple cases.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 15:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1267091#M66562</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2023-03-13T15:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Make Query Table vs. Make Table View</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1368710#M77242</link>
      <description>&lt;P&gt;Other differences:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make Query Table: Data is not editable, spatial.&lt;/LI&gt;&lt;LI&gt;Make Table View: Data is editable, non-spatial.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 11 Jan 2024 02:56:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/difference-between-make-query-table-vs-make-table/m-p/1368710#M77242</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-11T02:56:31Z</dc:date>
    </item>
  </channel>
</rss>

