<?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: Problem using the LIKE operator in a query in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-using-the-like-operator-in-a-query/m-p/481860#M2308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jay&lt;/P&gt;&lt;P&gt;Apparently my brain cell that used to know that tidbit has died.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joseph Elfelt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2020 23:06:32 GMT</pubDate>
    <dc:creator>JosephElfelt1</dc:creator>
    <dc:date>2020-08-28T23:06:32Z</dc:date>
    <item>
      <title>Problem using the LIKE operator in a query</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-using-the-like-operator-in-a-query/m-p/481858#M2306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This query command works fine.&lt;/P&gt;&lt;P&gt;&lt;A href="https://geodata.epa.gov/arcgis/rest/services/ORD/ROE_PercentChangeCarbonStorage/MapServer/2/query?f=GeoJSON&amp;amp;returnGeometry=true&amp;amp;outFields=*&amp;amp;where=CountyName LIKE 'Skagit County'"&gt;https://geodata.epa.gov/arcgis/rest/services/ORD/ROE_PercentChangeCarbonStorage/MapServer/2/query?f=GeoJSON&amp;amp;returnGeometry=true&amp;amp;outFields=*&amp;amp;where=CountyName &lt;STRONG&gt;LIKE 'Skagit County'&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this one with a wildcard fails.&lt;/P&gt;&lt;P&gt;&lt;A href="https://geodata.epa.gov/arcgis/rest/services/ORD/ROE_PercentChangeCarbonStorage/MapServer/2/query?f=GeoJSON&amp;amp;returnGeometry=true&amp;amp;outFields=*&amp;amp;where=CountyName LIKE 'Ska%'"&gt;https://geodata.epa.gov/arcgis/rest/services/ORD/ROE_PercentChangeCarbonStorage/MapServer/2/query?f=GeoJSON&amp;amp;returnGeometry=true&amp;amp;outFields=*&amp;amp;where=CountyName &lt;STRONG&gt;LIKE 'Ska%'&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the documentation says % is a wildcard for 0-to-many characters.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 19:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-using-the-like-operator-in-a-query/m-p/481858#M2306</guid>
      <dc:creator>JosephElfelt1</dc:creator>
      <dc:date>2020-08-28T19:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the LIKE operator in a query</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-using-the-like-operator-in-a-query/m-p/481859#M2307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because the % sign is special in URLs, you have to use a code&amp;nbsp;(i.e. escaping the character) so it knows you mean to use the % as a wildcard and not in its normal URL context.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this (use %25 instead of just %):&lt;/P&gt;&lt;P&gt;https://geodata.epa.gov/arcgis/rest/services/ORD/ROE_PercentChangeCarbonStorage/MapServer/2/query?f=GeoJSON&amp;amp;returnGeometry=true&amp;amp;outFields=*&amp;amp;where=CountyName LIKE 'Skag%25'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 22:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-using-the-like-operator-in-a-query/m-p/481859#M2307</guid>
      <dc:creator>JayJohnsonWashoeCounty</dc:creator>
      <dc:date>2020-08-28T22:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the LIKE operator in a query</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-using-the-like-operator-in-a-query/m-p/481860#M2308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jay&lt;/P&gt;&lt;P&gt;Apparently my brain cell that used to know that tidbit has died.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joseph Elfelt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 23:06:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problem-using-the-like-operator-in-a-query/m-p/481860#M2308</guid>
      <dc:creator>JosephElfelt1</dc:creator>
      <dc:date>2020-08-28T23:06:32Z</dc:date>
    </item>
  </channel>
</rss>

