<?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: Inner Select in MapServer Where Clause in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/inner-select-in-mapserver-where-clause/m-p/428963#M2879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set the System Property &lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14.3999996185303px; font-weight: bold;"&gt;standardizedQueries &lt;/SPAN&gt;to false using the Admin service (&lt;A href="http://esri10.caps.ua.edu:6080/arcgis/admin/system/properties" title="http://esri10.caps.ua.edu:6080/arcgis/admin/system/properties"&gt;http://myserver.mydomain:6080/arcgis/admin)&lt;/A&gt; and that solved the inability to use inner selects in queries.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 16:30:58 GMT</pubDate>
    <dc:creator>SteveBurdette</dc:creator>
    <dc:date>2015-07-07T16:30:58Z</dc:date>
    <item>
      <title>Inner Select in MapServer Where Clause</title>
      <link>https://community.esri.com/t5/developers-questions/inner-select-in-mapserver-where-clause/m-p/428962#M2878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a temporary table created to store record id's that I then retrieve using a query task with an inner select in the where clause.&amp;nbsp; This has worked fine in services created in ArcGIS 10.1 and below, but does not seem to be working the same in 10.2+ version of ArcGIS services.&amp;nbsp; I can use a list of IDs as a where clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaterialTypeId in ('F2E55F1F-B493-422F-806A-CD8A82A5868E', 'EEF3E3DA-7B8A-447B-AE4C-B0CBDA21AED7')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I can not use an inner select that generates a list of IDs as a where clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaterialTypeId in (select top 2 Id from MaterialTypes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to accomplish this in the latest versions of the web service API?&amp;nbsp; This has worked fine in versions prior to 10.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 12:48:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/inner-select-in-mapserver-where-clause/m-p/428962#M2878</guid>
      <dc:creator>SteveBurdette</dc:creator>
      <dc:date>2015-07-07T12:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Select in MapServer Where Clause</title>
      <link>https://community.esri.com/t5/developers-questions/inner-select-in-mapserver-where-clause/m-p/428963#M2879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set the System Property &lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14.3999996185303px; font-weight: bold;"&gt;standardizedQueries &lt;/SPAN&gt;to false using the Admin service (&lt;A href="http://esri10.caps.ua.edu:6080/arcgis/admin/system/properties" title="http://esri10.caps.ua.edu:6080/arcgis/admin/system/properties"&gt;http://myserver.mydomain:6080/arcgis/admin)&lt;/A&gt; and that solved the inability to use inner selects in queries.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 16:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/inner-select-in-mapserver-where-clause/m-p/428963#M2879</guid>
      <dc:creator>SteveBurdette</dc:creator>
      <dc:date>2015-07-07T16:30:58Z</dc:date>
    </item>
  </channel>
</rss>

