<?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: Arcade:  SQL Filter - Fields w/Apostrophes and Parentheses? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-sql-filter-fields-w-apostrophes-and/m-p/1357404#M75998</link>
    <description>&lt;P&gt;You can substitute a Arcade variable in the sql statement like this&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var Park_Name = $feature.PARK_NAME;
var results = Filter(athleticfields, "Name_Primary = @Park_Name");&lt;/LI-CODE&gt;&lt;P&gt;In my testing, this was able to filter attributes that contain apostrophes and parenthesis.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 15:44:13 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2023-12-06T15:44:13Z</dc:date>
    <item>
      <title>Arcade:  SQL Filter - Fields w/Apostrophes and Parentheses?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-sql-filter-fields-w-apostrophes-and/m-p/1357373#M75993</link>
      <description>&lt;P&gt;Here is my SQL filter statement that fails/errors.&amp;nbsp; Both field names (Name_Primary and PARK_NAME) have apostrophes and parentheses in them.&amp;nbsp; How would I form this statement to escape those characters?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var results = Filter(athleticfields, "Name_Primary = '"+$feature.PARK_NAME+"')&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-sql-filter-fields-w-apostrophes-and/m-p/1357373#M75993</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2023-12-06T15:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade:  SQL Filter - Fields w/Apostrophes and Parentheses?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-sql-filter-fields-w-apostrophes-and/m-p/1357404#M75998</link>
      <description>&lt;P&gt;You can substitute a Arcade variable in the sql statement like this&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var Park_Name = $feature.PARK_NAME;
var results = Filter(athleticfields, "Name_Primary = @Park_Name");&lt;/LI-CODE&gt;&lt;P&gt;In my testing, this was able to filter attributes that contain apostrophes and parenthesis.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:44:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-sql-filter-fields-w-apostrophes-and/m-p/1357404#M75998</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-12-06T15:44:13Z</dc:date>
    </item>
  </channel>
</rss>

