<?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: Select by attribute:  String Concatination in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359331#M76206</link>
    <description>&lt;P&gt;Hey Lyon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Sorry for the late response, you may try giving this a shot, I've heard that ampersands work as well:&lt;/P&gt;&lt;P&gt;field1 &amp;amp; ' ' &amp;amp; field2 = field3&lt;/P&gt;&lt;P&gt;This is without CONCAT as well, could possible get somewhere, but I will keep looking if that doesn't end up working!&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 20:02:41 GMT</pubDate>
    <dc:creator>CodyPatterson</dc:creator>
    <dc:date>2023-12-11T20:02:41Z</dc:date>
    <item>
      <title>Select by attribute:  String Concatination</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359194#M76184</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to build an SQL statement to find records where two concatenated fields are equal to a third field.&amp;nbsp; Specifically I would like to build the following statement&lt;/P&gt;&lt;P&gt;CONCAT(field1, " ", field2) = field3.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 16:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359194#M76184</guid>
      <dc:creator>LyonMNGIS</dc:creator>
      <dc:date>2023-12-11T16:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select by attribute:  String Concatination</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359202#M76186</link>
      <description>&lt;P&gt;Hey Lyon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;This is valid SQL from the looks of it, I've just attempted this exact CONCAT function and it had worked with me. Specifically like this:&lt;/P&gt;&lt;P&gt;SELECT *&lt;BR /&gt;FROM TestTable&lt;BR /&gt;WHERE CONCAT(field1, ' ', field2) = 'Work Flow';&lt;/P&gt;&lt;P&gt;I believe this is what you're asking!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 17:07:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359202#M76186</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2023-12-11T17:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select by attribute:  String Concatination</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359225#M76188</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I am still having trouble.&amp;nbsp; The SQL you have looks perfect for regular SQL statements, but is complaining when I try to create a definition query or select by attribute &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;CONCAT(ST_NAME, LOCATION) = ROUTE_NUM&lt;/P&gt;&lt;P&gt;This does not work when I try to add a space:&lt;/P&gt;&lt;P&gt;CONCAT(ST_NAME, &lt;STRONG&gt;' '&lt;/STRONG&gt;, LOCATION) = ROUTE_NUM&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 17:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359225#M76188</guid>
      <dc:creator>LyonMNGIS</dc:creator>
      <dc:date>2023-12-11T17:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select by attribute:  String Concatination</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359331#M76206</link>
      <description>&lt;P&gt;Hey Lyon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Sorry for the late response, you may try giving this a shot, I've heard that ampersands work as well:&lt;/P&gt;&lt;P&gt;field1 &amp;amp; ' ' &amp;amp; field2 = field3&lt;/P&gt;&lt;P&gt;This is without CONCAT as well, could possible get somewhere, but I will keep looking if that doesn't end up working!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 20:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1359331#M76206</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2023-12-11T20:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select by attribute:  String Concatination</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1361372#M76427</link>
      <description>&lt;P&gt;Cody,&lt;/P&gt;&lt;P&gt;I figured it out.&amp;nbsp; ArcGIS does not understand the regular + character when we want to concatenate a field value with a string.&amp;nbsp; But it does understand a double pipe such as:&lt;/P&gt;&lt;P&gt;ST_NAME || ' ' || ST_POS_TYP = ST_CONCAT&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 14:25:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1361372#M76427</guid>
      <dc:creator>LyonMNGIS</dc:creator>
      <dc:date>2023-12-15T14:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select by attribute:  String Concatination</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1362022#M76488</link>
      <description>&lt;P&gt;Specific support for SQL syntax and operators varies depending on the back-end data source.&amp;nbsp; Although Esri doesn't standardize some syntax and operators at the software level, anything beyond the most simple can vary depending on the data source, so it is always good to state what data source or workspace you are working with.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 15:22:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/select-by-attribute-string-concatination/m-p/1362022#M76488</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2023-12-18T15:22:25Z</dc:date>
    </item>
  </channel>
</rss>

