Select to view content in your preferred language

ORDER BY with Definition Expression

2117
1
10-14-2011 03:58 AM
JustinGreco
Frequent Contributor
I can use ORDER BY in my where clause to sort the results if I do not have a definition expression set.  However, if my layer does have a definition express set, the query fails.  Anyone have any suggestions or workarounds?  I'm hoping this gets fixed in 10.1 since there is going to be an order fields parameter.
0 Kudos
1 Reply
SrinivasVinnakota
Esri Contributor
Justin,
At 10.1, orderBy will work in conjunction with definition expression set on a feature layer.
0 Kudos