<?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 Error with Max on Query in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285719#M1826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I was making a query to a REST service in the v 10.2, with a MAX value, it was working perfectly with the following sentence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CENTRAL_ID=(SELECT MAX(CENTRAL_ID) FROM CENTRAL_PMGD)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Rest Srv is containing the following fields:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white; font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;Fields:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;OBJECTID &lt;EM&gt;( type: esriFieldTypeOID , alias: OBJECTID , editable: false , nullable: false )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;EMPRESA_ID &lt;EM&gt;( type: esriFieldTypeInteger , alias: PERIODO_STAR , editable: true , nullable: true )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;PERIODO_STAR &lt;EM&gt;( type: esriFieldTypeString , alias: PERIODO_STAR , editable: true , nullable: true , length: 6 )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;CENTRAL_ID &lt;EM&gt;( type: esriFieldTypeInteger , alias: CENTRAL_ID , editable: true , nullable: true )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;When i try to do the same query in the v 10.3 i got the following error ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;¿How can i do it&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;Thanks for ur answer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2015 13:35:43 GMT</pubDate>
    <dc:creator>EvelynHernandez</dc:creator>
    <dc:date>2015-03-24T13:35:43Z</dc:date>
    <item>
      <title>Error with Max on Query</title>
      <link>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285719#M1826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I was making a query to a REST service in the v 10.2, with a MAX value, it was working perfectly with the following sentence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CENTRAL_ID=(SELECT MAX(CENTRAL_ID) FROM CENTRAL_PMGD)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Rest Srv is containing the following fields:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white; font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;Fields:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;OBJECTID &lt;EM&gt;( type: esriFieldTypeOID , alias: OBJECTID , editable: false , nullable: false )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;EMPRESA_ID &lt;EM&gt;( type: esriFieldTypeInteger , alias: PERIODO_STAR , editable: true , nullable: true )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;PERIODO_STAR &lt;EM&gt;( type: esriFieldTypeString , alias: PERIODO_STAR , editable: true , nullable: true , length: 6 )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;CENTRAL_ID &lt;EM&gt;( type: esriFieldTypeInteger , alias: CENTRAL_ID , editable: true , nullable: true )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;When i try to do the same query in the v 10.3 i got the following error ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;¿How can i do it&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.5pt; font-family: 'Verdana','sans-serif';"&gt;Thanks for ur answer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:35:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285719#M1826</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2015-03-24T13:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Max on Query</title>
      <link>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285720#M1827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My first thought is to check whether&amp;nbsp; &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/About_standardized_queries/015400000641000000/"&gt;Standardized Queries&lt;/A&gt; is enabled or not.&lt;BR /&gt;If enabled the server will not allow the database-specific functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 14:57:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285720#M1827</guid>
      <dc:creator>AhmedEl-Sisi</dc:creator>
      <dc:date>2015-03-24T14:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Max on Query</title>
      <link>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285721#M1828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The thing is, yesterday we updated the srv to the v 10.3. Idk if doing the change that u say it will affect too much to the services or the entire service.&lt;/P&gt;&lt;P&gt;Theres no documentation talking about that in the v10.3 .. just the link that u showed me its talking about 10.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the way (sintaxis) to do it is now kinda different.&lt;/P&gt;&lt;P&gt;Anyone has experienced this trouble?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 15:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285721#M1828</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2015-03-24T15:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Max on Query</title>
      <link>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285722#M1829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check "Use Standardized Queries" for your layer through the rest map service directory first.&lt;BR /&gt;It should be like "Use Standardized Queries: true"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check documentation for &lt;A href="http://server.arcgis.com/en/server/latest/administer/windows/about-standardized-queries.htm"&gt;Standardized Queries&lt;/A&gt; from 10.3 help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 16:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285722#M1829</guid>
      <dc:creator>AhmedEl-Sisi</dc:creator>
      <dc:date>2015-03-24T16:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Max on Query</title>
      <link>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285723#M1830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try it, thanks for ur answer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 16:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/error-with-max-on-query/m-p/285723#M1830</guid>
      <dc:creator>EvelynHernandez</dc:creator>
      <dc:date>2015-03-24T16:51:52Z</dc:date>
    </item>
  </channel>
</rss>

