<?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: create query table doesn't work in a model in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319932#M18304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it probably has something to do with the input path names. &amp;nbsp;Are there any spaces and other characters in the paths? any non-simple characters (internationalization)? &amp;nbsp;Anything you can provide as to the inputs both through the common interface and through the model would be useful. &amp;nbsp;Also, check your environment settings, I doubt you have provided any within the model, but there may be some being used through the tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 10:15:19 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-09-07T10:15:19Z</dc:date>
    <item>
      <title>create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319929#M18301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to use the create query table tool. When I do it manually it works fine but will NOT work in a model.&lt;/P&gt;&lt;P&gt;I have both table and spatial layer in athe same personal geodatabase. I have tried using different syntax, double quotes, single quotes, square brackets around table and field expression. All deliver empty results and error 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 07:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319929#M18301</guid>
      <dc:creator>AntoniaCreese</dc:creator>
      <dc:date>2016-09-07T07:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319930#M18302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you do it manually and copy the syntax used from the&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/executing-tools/using-the-results-window.htm"&gt; Results window&lt;/A&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 07:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319930#M18302</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-07T07:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319931#M18303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan,&lt;/P&gt;&lt;P&gt;I have tried that and the expression and create table works manually outside of the model window but not within it. Same expression, same inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 07:27:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319931#M18303</guid>
      <dc:creator>AntoniaCreese</dc:creator>
      <dc:date>2016-09-07T07:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319932#M18304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it probably has something to do with the input path names. &amp;nbsp;Are there any spaces and other characters in the paths? any non-simple characters (internationalization)? &amp;nbsp;Anything you can provide as to the inputs both through the common interface and through the model would be useful. &amp;nbsp;Also, check your environment settings, I doubt you have provided any within the model, but there may be some being used through the tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 10:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319932#M18304</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-07T10:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319933#M18305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it is a known issue that the expression in Make Query Table may not validate when it is correct and vice versa.&lt;/P&gt;&lt;P&gt;For File GDB inputs build the expression without double quotes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 14:43:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319933#M18305</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2016-09-07T14:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319934#M18306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;even in 10.4.1? &amp;nbsp;Is there a bug number? when was the error introduced? &amp;nbsp;Times like this, I wish they would like bugs/issues to the help files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 14:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319934#M18306</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-07T14:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319935#M18307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By chance are you running the Table to Table GP tool prior to the Make Query Table GP tool in ModelBuilder?&amp;nbsp; If so, this is a known bug - BUG-000088138 : The 'Table to Table' tool fails in ModelBuilder if the input is a query layer.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319935#M18307</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2016-09-07T15:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319936#M18308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the bug Bruce mentioned was logged for 10.4.1 (although I think it may have existed at 10.4 as well):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUG-000097508 -&amp;nbsp;The Query Builder of the Make Query Table geoprocessing tool uses inconsistent delimiter syntax, returns inconsistent errors, and leads to inconsistent results in ArcGIS 10.4.1 for Desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bug is not directly related to ModelBuilder, but it may be causing some extra confusion in this case. &amp;nbsp;Since the tool is working outside of ModelBuilder I suspect that the bug Robert mentions below might be the main problem. &amp;nbsp;&lt;SPAN&gt;BUG-000097508 is related to various incorrect errors which are thrown when validating syntax generated by the Query Builder. &amp;nbsp;While it's possible that Antonia is hitting some of these incorrect errors, if she's got it working in the standalone tool then it should also work in ModelBuilder.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 18:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319936#M18308</guid>
      <dc:creator>AlanRex1</dc:creator>
      <dc:date>2016-09-07T18:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319937#M18309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That bug has been around a long while&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 18:28:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319937#M18309</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-09-07T18:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319938#M18310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No spaces or characters. I have found [layer].[field] = [tableName].[field] with both fields sharing the same data format in this case text and even the same size works well outside the model. I will check environment settings but suspect as a later comment suggests it is an esri "feature" aka bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 00:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319938#M18310</guid>
      <dc:creator>AntoniaCreese</dc:creator>
      <dc:date>2016-09-08T00:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319939#M18311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no not running table to table tool. The table is exported from database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 00:10:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319939#M18311</guid>
      <dc:creator>AntoniaCreese</dc:creator>
      <dc:date>2016-09-08T00:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319940#M18312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will believe it when I see it, but the status was recently updated to say it will be addressed in 10.5.1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: monospace; font-size: medium; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: pre-wrap; orphans: 2; widows: 2; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&lt;A href="http://support.esri.com/bugs/nimbus/QlVHLTAwMDA5NzUwOA=="&gt;BUG-000097508: The Query Builder of the Make Query Table geoprocess..&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 20:12:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/319940#M18312</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-12-13T20:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: create query table doesn't work in a model</title>
      <link>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/1174023#M44031</link>
      <description>&lt;P&gt;Verifying this is still a bad bug.&amp;nbsp; Make Query Table works joining two tables together outside of Model Builder but once it's replicated within Model Builder, I get ERROR 000152, Invalid Input Data.&amp;nbsp; Any suggestions/workarounds gratefully received.&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2022 17:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-query-table-doesn-t-work-in-a-model/m-p/1174023#M44031</guid>
      <dc:creator>GarretDuffy</dc:creator>
      <dc:date>2022-05-15T17:49:18Z</dc:date>
    </item>
  </channel>
</rss>

