<?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: Trouble executing SQL querying string coded values in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/trouble-executing-sql-querying-string-coded-values/m-p/500329#M829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, DUH, it would help if I didn't convert the value I was looking for to upper case!&amp;nbsp; I didn't even notice that yesterday. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing I DID notice, however:&amp;nbsp; whether I use ExecuteSQL or Table.Search, output is not confined to specified subfields.&amp;nbsp; A row is fully populated in any case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 12:53:26 GMT</pubDate>
    <dc:creator>MarkCederholm</dc:creator>
    <dc:date>2013-01-23T12:53:26Z</dc:date>
    <item>
      <title>Trouble executing SQL querying string coded values</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/trouble-executing-sql-querying-string-coded-values/m-p/500328#M828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having trouble querying string coded values via ExecuteSQL in the API.&amp;nbsp; I can query numeric codes just fine, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT * FROM street_anno WHERE horizontalalignment = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most of my coded value domains are strings where the code and the name are the same.&amp;nbsp; If I query against a particular code, no rows are returned:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT * FROM station WHERE feature_status = 'As-Built';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only get rows returned if I query against the first character of the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT * FROM station WHERE feature_status LIKE 'A%';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; Perhaps it's a unicode issue?&amp;nbsp; I'm using 1.3 BTW.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 21:18:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/trouble-executing-sql-querying-string-coded-values/m-p/500328#M828</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2013-01-22T21:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing SQL querying string coded values</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/trouble-executing-sql-querying-string-coded-values/m-p/500329#M829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, DUH, it would help if I didn't convert the value I was looking for to upper case!&amp;nbsp; I didn't even notice that yesterday. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing I DID notice, however:&amp;nbsp; whether I use ExecuteSQL or Table.Search, output is not confined to specified subfields.&amp;nbsp; A row is fully populated in any case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 12:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/trouble-executing-sql-querying-string-coded-values/m-p/500329#M829</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2013-01-23T12:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing SQL querying string coded values</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/trouble-executing-sql-querying-string-coded-values/m-p/500330#M830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, you cannot use your coded value domains in a SQL statement or WHERE clause.&amp;nbsp; This is true in ArcGIS as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are correct that at the present time, the fields in the row set of a query are not restricted to the fields specified in the select list.&amp;nbsp; That is something that will be corrected in a future release, but in the meantime, it is not harmful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 22:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/trouble-executing-sql-querying-string-coded-values/m-p/500330#M830</guid>
      <dc:creator>DavidSousa</dc:creator>
      <dc:date>2013-05-30T22:27:37Z</dc:date>
    </item>
  </channel>
</rss>

