<?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 Query in labeling in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687974#M4286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked...I just needed the second 'Name' instead of Name = New York OR Los Angeles.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 14:28:24 GMT</pubDate>
    <dc:creator>ELTerrell</dc:creator>
    <dc:date>2014-03-20T14:28:24Z</dc:date>
    <item>
      <title>SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687969#M4281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 10 cities within a county and I'm trying to label 9 of them.&amp;nbsp; I thought an SQL query in the label feature would eliminate the one I didn't want labeled.&amp;nbsp; I thought it should look something like this "Name" = 'New York' AND 'Los Angeles' and just leave out the one I don't want?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 11:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687969#M4281</guid>
      <dc:creator>ELTerrell</dc:creator>
      <dc:date>2014-03-20T11:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687970#M4282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I found a solution although it wasn't the one I anticipated.&amp;nbsp; I "added label classes from symbology categories" after having deleted the one city from symbology.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I'm thinking there has to be a way to label those using SQL query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 11:51:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687970#M4282</guid>
      <dc:creator>ELTerrell</dc:creator>
      <dc:date>2014-03-20T11:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687971#M4283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How about OR instead of AND?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 12:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687971#M4283</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-03-20T12:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687972#M4284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried that, I still get an error message.&amp;nbsp; I also tried IS.&amp;nbsp; I can only think that maybe it has something to do with the quotations?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:33:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687972#M4284</guid>
      <dc:creator>ELTerrell</dc:creator>
      <dc:date>2014-03-20T13:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687973#M4285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does ArcGIS Explorer Desktop have classes for labels like ArcMap does?&amp;nbsp; If so, you can add a SQL Query there, that should allow either the syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Name" = 'New York' OR "Name" = 'Los Angeles'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Name" in ('New York', 'Los Angeles')&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687973#M4285</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-03-20T13:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687974#M4286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked...I just needed the second 'Name' instead of Name = New York OR Los Angeles.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:28:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687974#M4286</guid>
      <dc:creator>ELTerrell</dc:creator>
      <dc:date>2014-03-20T14:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687975#M4287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;"Name" in ('New York', 'Los Angeles')&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the SQL I use often as sometimes the list can get quite long, and writing &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;"Name" = XXX OR&amp;nbsp; "Name" = XXX OR...&lt;/SPAN&gt;&lt;SPAN&gt; over and over gets tedious &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 23:36:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687975#M4287</guid>
      <dc:creator>BenVan_Kesteren1</dc:creator>
      <dc:date>2014-04-02T23:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687976#M4288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Ben!&amp;nbsp; I'll try that next.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687976#M4288</guid>
      <dc:creator>ELTerrell</dc:creator>
      <dc:date>2014-04-03T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query in labeling</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687977#M4289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael made a great suggestion with the IN function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're wondering how to fix your original query, here's the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Name" = 'New York' OR "Name" = 'Los Angeles'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to mention the field name twice. And in this context I think the OR is what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 21:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/sql-query-in-labeling/m-p/687977#M4289</guid>
      <dc:creator>EllenBryson2</dc:creator>
      <dc:date>2015-01-20T21:57:25Z</dc:date>
    </item>
  </channel>
</rss>

