<?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: Why does FIELDNAME LIKE '% %' not work in 10.3.1 file geodatabase table? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164967#M9218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try FIELDNAME IN (' ') all I get are fields that have no characters (but not Null) or that have any number of space characters, but no words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the table may be corrupt. &amp;nbsp;It was converted from another database using a CSV file that included several special characters. &amp;nbsp;While I manually removed those I could find that popped up when I converted back to a CSV file using Python (which didn't like them), I did not try to clean up the original CSV file and start the conversion fresh. &amp;nbsp;There may still be some hidden characters that have damaged the way SQL reads the table with this particular query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point I have done too much editing to start fresh from the original file, but I think exporting the data will work or else converting to the CVS file with the Python script and then using that file to recreate the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2017 21:08:51 GMT</pubDate>
    <dc:creator>RichardFairhurst</dc:creator>
    <dc:date>2017-03-06T21:08:51Z</dc:date>
    <item>
      <title>Why does FIELDNAME LIKE '% %' not work in 10.3.1 file geodatabase table?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164961#M9212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am very frustrated that whenever I try to query for a space character using a LIKE query that I never get any results from a file geodatabase table. &amp;nbsp;If I query FIELDNAME LIKE '% %' nothing is returned, even though I know there are values that match that criteria (most of them do). &amp;nbsp;I do not recall having this problem in 10.3 or 10.2, although it has been a while since I have had those versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this type of query work in ArcMap 10.3.1? &amp;nbsp;If others do not have this problem then perhaps the database needs repair, but I want to know that it works for someone before trying that route since the tables are large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it doesn't work how do I find records with two or more words separated by spaces in a fields using&amp;nbsp;a query on a 10.3.1. file geodatabase table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 20:39:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164961#M9212</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2017-03-06T20:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why does FIELDNAME LIKE '% %' not work in 10.3.1 file geodatabase table?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164962#M9213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tested Make Feature Layer using ArcGIS 10.5 using &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;"LIKE '% %'"&lt;/SPAN&gt; in the &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;where_clause&lt;/SPAN&gt; and it worked correctly.&amp;nbsp; I have access to 10.3.1 that I can test later.&amp;nbsp; What tools are you using to query the file geodatabase?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 20:47:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164962#M9213</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-03-06T20:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why does FIELDNAME LIKE '% %' not work in 10.3.1 file geodatabase table?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164963#M9214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;don't have that version, but emulate to ensure that there is possibilities and you are typing as little as possible.&amp;nbsp; In my example, the only thing I typed were the single quotes and the space.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/335295_query_like.png" style="width: 620px; height: 200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 20:49:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164963#M9214</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-03-06T20:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why does FIELDNAME LIKE '% %' not work in 10.3.1 file geodatabase table?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164964#M9215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just using the Search by Attributes dialog within ArcMap Desktop (from the table view menu). &amp;nbsp;The queries are all being done interactively during a QC process. &amp;nbsp;I pretty much always use the field list to build my query expression and even click the LIKE button. &amp;nbsp;I only type '% %'. &amp;nbsp;I will try using the % button. &amp;nbsp;I have not tried to script this type of query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 20:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164964#M9215</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2017-03-06T20:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does FIELDNAME LIKE '% %' not work in 10.3.1 file geodatabase table?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164965#M9216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just used the Select By Attributes dialog box on the same feature class using the same SQL, and it returned the same result, i.e., it worked correctly.&amp;nbsp; I wonder if there is a bug with 10.3.1.&amp;nbsp; I will have to check it out and post back my results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 20:56:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164965#M9216</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-03-06T20:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why does FIELDNAME LIKE '% %' not work in 10.3.1 file geodatabase table?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164966#M9217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try ... Sector IN (' ') ... where sector is the fieldname from the previous example and a space is between the quotes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 20:58:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164966#M9217</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-03-06T20:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why does FIELDNAME LIKE '% %' not work in 10.3.1 file geodatabase table?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164967#M9218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try FIELDNAME IN (' ') all I get are fields that have no characters (but not Null) or that have any number of space characters, but no words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the table may be corrupt. &amp;nbsp;It was converted from another database using a CSV file that included several special characters. &amp;nbsp;While I manually removed those I could find that popped up when I converted back to a CSV file using Python (which didn't like them), I did not try to clean up the original CSV file and start the conversion fresh. &amp;nbsp;There may still be some hidden characters that have damaged the way SQL reads the table with this particular query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point I have done too much editing to start fresh from the original file, but I think exporting the data will work or else converting to the CVS file with the Python script and then using that file to recreate the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-fieldname-like-not-work-in-10-3-1-file/m-p/164967#M9218</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2017-03-06T21:08:51Z</dc:date>
    </item>
  </channel>
</rss>

