<?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 syntax for numeric wildcard in file geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21875#M1128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that previously and again when you suggested.&amp;nbsp; It doesn't throw an error but doesn't select anything either (yes, there are definitely numbers in the field I'm querying).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2016 19:10:32 GMT</pubDate>
    <dc:creator>FrankPrice</dc:creator>
    <dc:date>2016-04-21T19:10:32Z</dc:date>
    <item>
      <title>SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21871#M1124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know what the appropriate SQL syntax is for selecting any record that contains any number within a text string in a field using Select by Attributes with a file geodatabase feature class.&amp;nbsp; The &lt;A href="http://help.arcgis.com/En/Arcgisdesktop/10.0/Help/index.html#//00s500000033000000"&gt;help page&lt;/A&gt; mentions using the pound sign as a numeric wildcard but this isn't working for me so maybe it only works for personal geodatabases?&amp;nbsp; And I know I can use the field calculator and python or VB to do this in various ways but it just seems like there should be a quicker way to do it with SQL using Select by Attributes.&amp;nbsp; I'm thinking there should be something like Field_name LIKE '%#%' where the pound sign is any number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any pointers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:07:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21871#M1124</guid>
      <dc:creator>FrankPrice</dc:creator>
      <dc:date>2016-04-21T18:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21872#M1125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If your data is stored in an sql database try&lt;/SPAN&gt; this &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; PATINDEX('%[0-9]%', yourfieldhere ) &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21872#M1125</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-04-21T18:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21873#M1126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but I just get "An invalid SQL statement was used".&amp;nbsp; Is the PATINDEX function specific to SQL Server?&amp;nbsp; I need something that will work on a file geodatabase...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21873#M1126</guid>
      <dc:creator>FrankPrice</dc:creator>
      <dc:date>2016-04-21T18:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21874#M1127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this for a File geodatabase &lt;/P&gt;&lt;P&gt;yourfieldhere LIKE '%[0-9]%'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 18:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21874#M1127</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-04-21T18:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21875#M1128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that previously and again when you suggested.&amp;nbsp; It doesn't throw an error but doesn't select anything either (yes, there are definitely numbers in the field I'm querying).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 19:10:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21875#M1128</guid>
      <dc:creator>FrankPrice</dc:creator>
      <dc:date>2016-04-21T19:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21876#M1129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you in a file geodatabase?&lt;/P&gt;&lt;P&gt;Could you post a sample 5-10 records?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 19:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21876#M1129</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-04-21T19:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21877#M1130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the attached.&amp;nbsp; I deleted most of the fields but tested and still have the same problem.&amp;nbsp; Try the Obs_data_temp field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 19:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21877#M1130</guid>
      <dc:creator>FrankPrice</dc:creator>
      <dc:date>2016-04-21T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21878#M1131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Obs_data_temp LIKE '%0%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%1%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%2%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%3%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%4%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%5%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%6%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%7%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%8%' OR&lt;/P&gt;&lt;P&gt;Obs_data_temp LIKE '%9%'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 19:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21878#M1131</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-04-21T19:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21879#M1132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, not very concise but I guess it does the job... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 19:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21879#M1132</guid>
      <dc:creator>FrankPrice</dc:creator>
      <dc:date>2016-04-21T19:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21880#M1133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've looked a few times for a good answer to this question, unfortunately unless your in server or a personal geodatabase there doesn't seem to be a good answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 19:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21880#M1133</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-04-21T19:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: SQL syntax for numeric wildcard in file geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21881#M1134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help with it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:10:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-syntax-for-numeric-wildcard-in-file/m-p/21881#M1134</guid>
      <dc:creator>FrankPrice</dc:creator>
      <dc:date>2016-04-21T20:10:03Z</dc:date>
    </item>
  </channel>
</rss>

