<?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: URL Query Sql Expression directly to REST issue in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313108#M7429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert - you are good - thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Dan,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; You can always use the IN operator instead:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;query.where = "TAX_ID IN ('253-004', '253-005')";&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jan 2011 13:17:45 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-01-06T13:17:45Z</dc:date>
    <item>
      <title>URL Query Sql Expression directly to REST issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313104#M7425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hope this is simple.&amp;nbsp; When I browse to my Server Service URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.myserver.gov/ArcGIS/rest/services/Parcel_Layers/MapServer/50"&gt;http://gis.myserver.gov/ArcGIS/rest/services/Parcel_Layers/MapServer/50&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and enter a "where" expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this works -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TAX_ID = '253-004' AND NOT TAX_ID = '253-005' &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this does not work -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TAX_ID = '253-004' OR TAX_ID = '253-005' &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to understand "AND NOT" but doesn't understand "OR" - why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to select two parcels at one time - with a valid sql expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Later I will pass this string from actionscript.&amp;nbsp; Thanks for any ideas.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 16:36:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313104#M7425</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-01-05T16:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: URL Query Sql Expression directly to REST issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313105#M7426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The OR should be working.&amp;nbsp; I did a Query (GET) with APN = '52-1446-6' OR APN = '52-1448-13' on my parcel layer and had two results returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just as a test you might try the query in SQL Server Management Studio just to be sure it works there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wish I had an answer, but at least you know it should be working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Keith&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 22:08:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313105#M7426</guid>
      <dc:creator>KeithPalmer</dc:creator>
      <dc:date>2011-01-05T22:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: URL Query Sql Expression directly to REST issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313106#M7427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for taking a shot Keith.&amp;nbsp; It should work - but, doesn't!&amp;nbsp; Sql server queries are fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a simple rest query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;query.where = "TAX_ID = '253-004' OR TAX_ID = '253-005'";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The flex API documentation for the class where property states:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Any legal SQL where clause operating on the fields in the layer is allowed."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, "OR" is legal - I'm stumped.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 12:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313106#M7427</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-01-06T12:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: URL Query Sql Expression directly to REST issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313107#M7428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You can always use the IN operator instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;query.where = "TAX_ID IN ('253-004', '253-005')";&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 12:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313107#M7428</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-01-06T12:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: URL Query Sql Expression directly to REST issue</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313108#M7429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert - you are good - thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Dan,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; You can always use the IN operator instead:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;query.where = "TAX_ID IN ('253-004', '253-005')";&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 13:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/url-query-sql-expression-directly-to-rest-issue/m-p/313108#M7429</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-01-06T13:17:45Z</dc:date>
    </item>
  </channel>
</rss>

