xxxmatko

Executing query task using field alias instead of field name

Discussion created by xxxmatko on Jun 30, 2011
Latest reply on May 28, 2013 by ahoque-esristaff
Hi,

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.

Lets say I have a field defined like this:

SOME_FIELD (Type: esriFieldTypeString, Alias: SMF, Length: 15 )

using the where condition " SOME_FIELD = '000000000001943' " will get the result,
but using the where condition " SMF = '000000000001943' " will get the message "Unable to perform query."

Thanks.

Outcomes