<?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 Is SELECT MAX possible with a Query.where? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-select-max-possible-with-a-query-where/m-p/373530#M8722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am trying to retrieve an entry in a table (Oracle then SDE) that has a maximum value in one of it's fields but cannot get it right:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;query.where = "OBJECTID=(SELECT MAX(OBJECTID) FROM TABLE_NAME)";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this functionality supported in the flex api (the equivilent call works from the service's query form) or have I just got the syntax wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Martyn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 13:26:52 GMT</pubDate>
    <dc:creator>MartynLe_Butt</dc:creator>
    <dc:date>2011-09-09T13:26:52Z</dc:date>
    <item>
      <title>Is SELECT MAX possible with a Query.where?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-select-max-possible-with-a-query-where/m-p/373530#M8722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am trying to retrieve an entry in a table (Oracle then SDE) that has a maximum value in one of it's fields but cannot get it right:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;query.where = "OBJECTID=(SELECT MAX(OBJECTID) FROM TABLE_NAME)";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this functionality supported in the flex api (the equivilent call works from the service's query form) or have I just got the syntax wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Martyn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 13:26:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-select-max-possible-with-a-query-where/m-p/373530#M8722</guid>
      <dc:creator>MartynLe_Butt</dc:creator>
      <dc:date>2011-09-09T13:26:52Z</dc:date>
    </item>
  </channel>
</rss>

