<?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: SQL Queries Pro Labels? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/sql-queries-pro-labels/m-p/750979#M32832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/6022"&gt;Robert Borchert&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using Arcade:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;Left&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ALTNAME&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;6&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(at least if you are interested in returning the first 6 characters of the field ALTNAME)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2020 13:06:44 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-02-27T13:06:44Z</dc:date>
    <item>
      <title>SQL Queries Pro Labels?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-queries-pro-labels/m-p/750978#M32831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can use a SQL Definition query for a feature like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LENGTH(ALTNAME)=6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I try to use the same SQL query to define a class in Pro Maplex Labeling I get nothing but errors.&lt;/P&gt;&lt;P&gt;My goal is to label with ALTNAME fields that equal 6 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help says to use CHAR_LENGTH but it also results in errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way around this or can I do it with an expression using Arcade, VB etc,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 17:47:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-queries-pro-labels/m-p/750978#M32831</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2020-02-26T17:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Queries Pro Labels?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-queries-pro-labels/m-p/750979#M32832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/6022"&gt;Robert Borchert&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using Arcade:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;Left&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ALTNAME&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;6&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(at least if you are interested in returning the first 6 characters of the field ALTNAME)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 13:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-queries-pro-labels/m-p/750979#M32832</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-27T13:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Queries Pro Labels?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/sql-queries-pro-labels/m-p/750980#M32833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Arcade but the SQL Query only accepts SQL&lt;/P&gt;&lt;P&gt;However, returning the first six characters is not the issue. It is identifying those fields that have six or more characters so the label rules can be set up different.&lt;/P&gt;&lt;P&gt;We have a Scale Attribute for defining at what scale labels are visible at, I ended up adding 2 new definitions to the domain to accommodate the longer labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I was hoping to find was a way to use arcade to show in that class only those labels that are 6 or more characters,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 13:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/sql-queries-pro-labels/m-p/750980#M32833</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2020-02-27T13:12:01Z</dc:date>
    </item>
  </channel>
</rss>

