<?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 Using a left function in a query where clause from a rest service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-left-function-in-a-query-where-clause-from/m-p/576921#M53851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use a left function in my where clause of my query to a rest service and can't seem to figure out the syntax. I can query the underlying sql database directly using the left function but not through the esri service. Is this possible? The documentation suggests that it is; "&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;A where clause for the query. Any legal SQL where clause operating on the fields in the layer is allowed."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;tried:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;left([rid], &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; = '14010002'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-size: 14px; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif;"&gt;left(rid, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; = '14010002'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-size: 14px; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif;"&gt;rid is a text field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2014 20:31:09 GMT</pubDate>
    <dc:creator>jasonwriter</dc:creator>
    <dc:date>2014-10-02T20:31:09Z</dc:date>
    <item>
      <title>Using a left function in a query where clause from a rest service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-left-function-in-a-query-where-clause-from/m-p/576921#M53851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use a left function in my where clause of my query to a rest service and can't seem to figure out the syntax. I can query the underlying sql database directly using the left function but not through the esri service. Is this possible? The documentation suggests that it is; "&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;A where clause for the query. Any legal SQL where clause operating on the fields in the layer is allowed."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;tried:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;left([rid], &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; = '14010002'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-size: 14px; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif;"&gt;left(rid, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; = '14010002'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-size: 14px; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif;"&gt;rid is a text field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', Helvetica, Arial, Verdana, sans-serif; font-size: 14px;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 20:31:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-a-left-function-in-a-query-where-clause-from/m-p/576921#M53851</guid>
      <dc:creator>jasonwriter</dc:creator>
      <dc:date>2014-10-02T20:31:09Z</dc:date>
    </item>
  </channel>
</rss>

