<?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: How to Query for Distinct Values? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-query-for-distinct-values/m-p/324613#M12486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;it should be supported in 10.1 SP1 only for layer/table whose supportsAdvancedQueries property returns true.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 21:05:15 GMT</pubDate>
    <dc:creator>TanuHoque</dc:creator>
    <dc:date>2012-09-13T21:05:15Z</dc:date>
    <item>
      <title>How to Query for Distinct Values?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-query-for-distinct-values/m-p/324612#M12485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a mapservice published to ArcGIS Server 10.1. On the &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;myserver:6080/arcgis/rest/services/..../MapServer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to specify a Query where I can get all the unique values for a specific field (i.e. "myfield")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of the values "myfield" contains is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want the query to return is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What parameters should I specify to get DISTINCT values? I tried sticking DISTINCT in the "Where:" box, but it did not work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 20:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-query-for-distinct-values/m-p/324612#M12485</guid>
      <dc:creator>MikeRobinson1</dc:creator>
      <dc:date>2012-09-13T20:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to Query for Distinct Values?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-query-for-distinct-values/m-p/324613#M12486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;it should be supported in 10.1 SP1 only for layer/table whose supportsAdvancedQueries property returns true.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 21:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-query-for-distinct-values/m-p/324613#M12486</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2012-09-13T21:05:15Z</dc:date>
    </item>
  </channel>
</rss>

