<?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 Executing query task using field alias instead of field name in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/executing-query-task-using-field-alias-instead-of/m-p/424441#M2043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to find the solution on how to execute query task using field alias instead of field name in the where condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lets say I have a field defined like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SOME_FIELD (Type: esriFieldTypeString, Alias: SMF, Length: 15 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using the where condition " SOME_FIELD = '000000000001943' " will get the result,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but using the where condition " SMF = '000000000001943' " will get the message "Unable to perform query."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2011 08:33:30 GMT</pubDate>
    <dc:creator>martinsutka</dc:creator>
    <dc:date>2011-06-30T08:33:30Z</dc:date>
    <item>
      <title>Executing query task using field alias instead of field name</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/executing-query-task-using-field-alias-instead-of/m-p/424441#M2043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to find the solution on how to execute query task using field alias instead of field name in the where condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lets say I have a field defined like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SOME_FIELD (Type: esriFieldTypeString, Alias: SMF, Length: 15 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using the where condition " SOME_FIELD = '000000000001943' " will get the result,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but using the where condition " SMF = '000000000001943' " will get the message "Unable to perform query."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 08:33:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/executing-query-task-using-field-alias-instead-of/m-p/424441#M2043</guid>
      <dc:creator>martinsutka</dc:creator>
      <dc:date>2011-06-30T08:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Executing query task using field alias instead of field name</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/executing-query-task-using-field-alias-instead-of/m-p/424442#M2044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!!! Could you do it? I want do it too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 07:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/executing-query-task-using-field-alias-instead-of/m-p/424442#M2044</guid>
      <dc:creator>AmayaMateos</dc:creator>
      <dc:date>2013-05-16T07:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Executing query task using field alias instead of field name</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/executing-query-task-using-field-alias-instead-of/m-p/424443#M2045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you must use FieldName with the query. FieldAliases are not supported. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Field-aliases live either in the mxd or at the GDB stack, the underlying database is not aware of this, as a result it fails.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 16:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/executing-query-task-using-field-alias-instead-of/m-p/424443#M2045</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2013-05-28T16:49:30Z</dc:date>
    </item>
  </channel>
</rss>

