<?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 Select by attribute clause builder is missing is LIKE, SQL mode missing field name list in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-clause-builder-is-missing-is/m-p/328515#M14328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple use case example: I am looking to find any postal codes in my dataset that are 7 characters long vs the standard 6 characters. I don't want to define a specific search for criteria (ie. looking for delimiters such as spaces, dashes, commas, etc.), rather I just want&amp;nbsp;a count of the number of records that have more than 6 characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;(EDIT: I use FME to do this on mass normally, and don't need suggestions on the many ways to do such a thing, just using this as an example of how LIKE without wildcards is not possible in clause mode).&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally I would simply look for the 7 char records using this SQL (which is works when using SQL mode):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;Postal Code]&lt;/SPAN&gt; LIKE '_______' (7 underscores)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In clause mode, this expression is impossible. There is no operator that uses LIKE without a % wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, using "contains the text" wraps the statement in percent signs:&lt;/P&gt;&lt;P&gt;Clause: Where [&lt;SPAN&gt;Postal Code] contains the text '_______'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SQL:&amp;nbsp;[&lt;SPAN&gt;Postal Code] LIKE '%_______%'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also,&amp;nbsp;SQL mode needs an editor. A simple port over from ArcMap would suffice. If simple, ... maybe we should call them "Advanced" SQL statements (such as LIKE without %) need to be written in the SQL text box, give us at the very least a field list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;So just hoping ESRI is aware there is no way to build a LIKE statement in clause mode without % wildcards&amp;nbsp;(which will produce&amp;nbsp;very different results) and that SQL mode needs a field list for easy editing. Else we are left with more basic functionality lost&amp;nbsp;by switching over to Pro.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2019 21:54:36 GMT</pubDate>
    <dc:creator>AaronCraig2</dc:creator>
    <dc:date>2019-08-09T21:54:36Z</dc:date>
    <item>
      <title>Select by attribute clause builder is missing is LIKE, SQL mode missing field name list</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-clause-builder-is-missing-is/m-p/328515#M14328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple use case example: I am looking to find any postal codes in my dataset that are 7 characters long vs the standard 6 characters. I don't want to define a specific search for criteria (ie. looking for delimiters such as spaces, dashes, commas, etc.), rather I just want&amp;nbsp;a count of the number of records that have more than 6 characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;(EDIT: I use FME to do this on mass normally, and don't need suggestions on the many ways to do such a thing, just using this as an example of how LIKE without wildcards is not possible in clause mode).&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally I would simply look for the 7 char records using this SQL (which is works when using SQL mode):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;Postal Code]&lt;/SPAN&gt; LIKE '_______' (7 underscores)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In clause mode, this expression is impossible. There is no operator that uses LIKE without a % wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, using "contains the text" wraps the statement in percent signs:&lt;/P&gt;&lt;P&gt;Clause: Where [&lt;SPAN&gt;Postal Code] contains the text '_______'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SQL:&amp;nbsp;[&lt;SPAN&gt;Postal Code] LIKE '%_______%'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also,&amp;nbsp;SQL mode needs an editor. A simple port over from ArcMap would suffice. If simple, ... maybe we should call them "Advanced" SQL statements (such as LIKE without %) need to be written in the SQL text box, give us at the very least a field list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;So just hoping ESRI is aware there is no way to build a LIKE statement in clause mode without % wildcards&amp;nbsp;(which will produce&amp;nbsp;very different results) and that SQL mode needs a field list for easy editing. Else we are left with more basic functionality lost&amp;nbsp;by switching over to Pro.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 21:54:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-clause-builder-is-missing-is/m-p/328515#M14328</guid>
      <dc:creator>AaronCraig2</dc:creator>
      <dc:date>2019-08-09T21:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select by attribute clause builder is missing is LIKE, SQL mode missing field name list</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-clause-builder-is-missing-is/m-p/328516#M14329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the primary criteria is string/text length, using CHAR_LENGTH is both more efficient and straightforward.&amp;nbsp; With ArcGIS Pro, the SQL editing allows for auto-complete functionality, which I find more efficient than selecting operators and fields from dialog windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2019 02:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-clause-builder-is-missing-is/m-p/328516#M14329</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-08-10T02:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select by attribute clause builder is missing is LIKE, SQL mode missing field name list</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-clause-builder-is-missing-is/m-p/328517#M14330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heh, there are a million ways to slice the Char Length pie. I actually prefer to use FME to do such things on mass. The point I am trying to make is there is no way to use clause mode, with LIKE, without leading or trailing (or both) wildcards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 17:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-clause-builder-is-missing-is/m-p/328517#M14330</guid>
      <dc:creator>AaronCraig2</dc:creator>
      <dc:date>2019-08-12T17:27:42Z</dc:date>
    </item>
  </channel>
</rss>

