<?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 Arcgis rest api service - query to check for numeric in a string field in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-rest-api-service-query-to-check-for-numeric/m-p/1213738#M78741</link>
    <description>&lt;P&gt;I am using ArcGis rest api service query to return only records that have a numeric value in a string field. (actiond is the string field which can be null also) This is what I am trying so far for the WHERE clause in the ArcGIS REST Services for the feature class:&lt;/P&gt;&lt;P&gt;TEST 1&lt;/P&gt;&lt;P&gt;I tried the following for first test using DECIMAL:&lt;/P&gt;&lt;PRE&gt;CAST( (COALESCE(actionid , '0')) AS DECIMAL) &amp;gt; -10000000&lt;/PRE&gt;&lt;P&gt;This is the error I am receiving.&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE&gt;'where' parameter is invalid&lt;/PRE&gt;&lt;P&gt;TEST 2&lt;/P&gt;&lt;P&gt;I tried the following for second test using&amp;nbsp;&lt;A href="https://www.lithiumbatterychina.com/" target="_self"&gt;&lt;SPAN&gt;Custom Lithium Ion Battery Pack Manufacturer&lt;/SPAN&gt;&lt;/A&gt; INTEGER:&lt;/P&gt;&lt;PRE&gt;CAST( (COALESCE(actionid , '0')) AS INTEGER) &amp;gt; -10000000&lt;/PRE&gt;&lt;P&gt;This is the error I am receiving.&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE&gt;Unable to perform query. Please check your parameters.&lt;/PRE&gt;&lt;P&gt;So far from my research, it looks like it should support all the above keywords since it uses SQL-92. What am I missing? Thank You.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 09:44:12 GMT</pubDate>
    <dc:creator>BenSteele</dc:creator>
    <dc:date>2022-09-20T09:44:12Z</dc:date>
    <item>
      <title>Arcgis rest api service - query to check for numeric in a string field</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-rest-api-service-query-to-check-for-numeric/m-p/1213738#M78741</link>
      <description>&lt;P&gt;I am using ArcGis rest api service query to return only records that have a numeric value in a string field. (actiond is the string field which can be null also) This is what I am trying so far for the WHERE clause in the ArcGIS REST Services for the feature class:&lt;/P&gt;&lt;P&gt;TEST 1&lt;/P&gt;&lt;P&gt;I tried the following for first test using DECIMAL:&lt;/P&gt;&lt;PRE&gt;CAST( (COALESCE(actionid , '0')) AS DECIMAL) &amp;gt; -10000000&lt;/PRE&gt;&lt;P&gt;This is the error I am receiving.&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE&gt;'where' parameter is invalid&lt;/PRE&gt;&lt;P&gt;TEST 2&lt;/P&gt;&lt;P&gt;I tried the following for second test using&amp;nbsp;&lt;A href="https://www.lithiumbatterychina.com/" target="_self"&gt;&lt;SPAN&gt;Custom Lithium Ion Battery Pack Manufacturer&lt;/SPAN&gt;&lt;/A&gt; INTEGER:&lt;/P&gt;&lt;PRE&gt;CAST( (COALESCE(actionid , '0')) AS INTEGER) &amp;gt; -10000000&lt;/PRE&gt;&lt;P&gt;This is the error I am receiving.&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE&gt;Unable to perform query. Please check your parameters.&lt;/PRE&gt;&lt;P&gt;So far from my research, it looks like it should support all the above keywords since it uses SQL-92. What am I missing? Thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 09:44:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-rest-api-service-query-to-check-for-numeric/m-p/1213738#M78741</guid>
      <dc:creator>BenSteele</dc:creator>
      <dc:date>2022-09-20T09:44:12Z</dc:date>
    </item>
  </channel>
</rss>

