<?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>idea Documentation about empty strings, nulls, NaN, and Nil in ArcGIS in Data Management Ideas</title>
    <link>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idi-p/1239017</link>
    <description>&lt;P&gt;Could Esri create some detailed docs on&amp;nbsp;&lt;U&gt;empty strings, nulls and NaN&lt;/U&gt; in ArcGIS?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;For ArcGIS supported datatypes, which datatypes allow empty strings as values? Which datatypes have no concept of an empty string, only null? Example: Oracle.&lt;/LI&gt;&lt;LI&gt;For procedural programming languages that are used in ArcGIS, how do they handle nulls?&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Python: “None”&lt;/LI&gt;&lt;LI&gt;Arcade/JS null quirks&lt;/LI&gt;&lt;LI&gt;Others&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Define the concept of empty strings. Is&amp;nbsp;“ “ (text) different from “” (empty string)?&lt;/LI&gt;&lt;LI&gt;Empty string best practices in ArcGIS.&lt;/LI&gt;&lt;LI&gt;When to query for both empty strings and nulls in ArcGIS.&lt;/LI&gt;&lt;LI&gt;Sometimes people set a default value to a space “ “ or zero, to work around a field that doesn’t allow nulls. Is that a recommended practice?&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/documentation-about-how-to-set-value-to-null-in/idi-p/1379524" target="_self"&gt;Describe the different ways to set a value to null in the Attribute Table:&lt;/A&gt;&lt;UL&gt;&lt;LI&gt;Delete a value with the keyboard delete key or by cutting the value (ctrl+x). In an Oracle GDB, the value will be automatically set to null upon saving.&amp;nbsp;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Tip: Don’t select the &lt;/SPAN&gt;&lt;I&gt;&lt;U&gt;record&lt;/U&gt;&lt;/I&gt; &lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;nd hit the delete key – that will delete the entire record (&lt;/SPAN&gt;&lt;SPAN class=""&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; what we want).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Or, use the field calculator: set the &lt;SPAN class=""&gt;value&lt;/SPAN&gt; to &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;null,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;but&amp;nbsp;&lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;“&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;null&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;”.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Or, if the field has &lt;SPAN class=""&gt;a&lt;/SPAN&gt; domain, select &amp;lt;&lt;SPAN class=""&gt;Null&lt;/SPAN&gt;&amp;gt; from the picklist.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Incorrect:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;Don’t try to set the &lt;SPAN class=""&gt;value&lt;/SPAN&gt; to the literal text “&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;null&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;” or "null". That’s &lt;SPAN class=""&gt;not&lt;/SPAN&gt; the same thing &lt;SPAN class=""&gt;a&lt;/SPAN&gt;s it being truly &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;null&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Null&lt;/SPAN&gt; &lt;SPAN class=""&gt;is&lt;/SPAN&gt;n’t &lt;SPAN class=""&gt;a&lt;/SPAN&gt; &lt;SPAN class=""&gt;value&lt;/SPAN&gt;. It’s the &lt;SPAN class=""&gt;a&lt;/SPAN&gt;bsence of &lt;SPAN class=""&gt;a&lt;/SPAN&gt; &lt;SPAN class=""&gt;value&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;What is NaN? When is it used in ArcGIS? Example: M values in linear referencing.&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;I think there are cases where NaN is actually negative infinity (float), in Oracle at least.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Nil&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;For example,&amp;nbsp;&lt;A href="https://community.esri.com/t5/geodatabase-questions/create-nil-zero-vertex-geometry/m-p/1343655/highlight/true#M8660" target="_self"&gt;Create NIL (zero vertex) geometry&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;I’m aware that there are some bits and pieces of docs pertaining to nulls. But I don’t think those pages cover all the points mentioned above.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 04:06:16 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-02-08T04:06:16Z</dc:date>
    <item>
      <title>Documentation about empty strings, nulls, NaN, and Nil in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idi-p/1239017</link>
      <description>&lt;P&gt;Could Esri create some detailed docs on&amp;nbsp;&lt;U&gt;empty strings, nulls and NaN&lt;/U&gt; in ArcGIS?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;For ArcGIS supported datatypes, which datatypes allow empty strings as values? Which datatypes have no concept of an empty string, only null? Example: Oracle.&lt;/LI&gt;&lt;LI&gt;For procedural programming languages that are used in ArcGIS, how do they handle nulls?&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Python: “None”&lt;/LI&gt;&lt;LI&gt;Arcade/JS null quirks&lt;/LI&gt;&lt;LI&gt;Others&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Define the concept of empty strings. Is&amp;nbsp;“ “ (text) different from “” (empty string)?&lt;/LI&gt;&lt;LI&gt;Empty string best practices in ArcGIS.&lt;/LI&gt;&lt;LI&gt;When to query for both empty strings and nulls in ArcGIS.&lt;/LI&gt;&lt;LI&gt;Sometimes people set a default value to a space “ “ or zero, to work around a field that doesn’t allow nulls. Is that a recommended practice?&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/documentation-about-how-to-set-value-to-null-in/idi-p/1379524" target="_self"&gt;Describe the different ways to set a value to null in the Attribute Table:&lt;/A&gt;&lt;UL&gt;&lt;LI&gt;Delete a value with the keyboard delete key or by cutting the value (ctrl+x). In an Oracle GDB, the value will be automatically set to null upon saving.&amp;nbsp;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Tip: Don’t select the &lt;/SPAN&gt;&lt;I&gt;&lt;U&gt;record&lt;/U&gt;&lt;/I&gt; &lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;nd hit the delete key – that will delete the entire record (&lt;/SPAN&gt;&lt;SPAN class=""&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; what we want).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Or, use the field calculator: set the &lt;SPAN class=""&gt;value&lt;/SPAN&gt; to &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;null,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;but&amp;nbsp;&lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;“&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;null&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;”.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Or, if the field has &lt;SPAN class=""&gt;a&lt;/SPAN&gt; domain, select &amp;lt;&lt;SPAN class=""&gt;Null&lt;/SPAN&gt;&amp;gt; from the picklist.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Incorrect:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt;Don’t try to set the &lt;SPAN class=""&gt;value&lt;/SPAN&gt; to the literal text “&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;null&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;” or "null". That’s &lt;SPAN class=""&gt;not&lt;/SPAN&gt; the same thing &lt;SPAN class=""&gt;a&lt;/SPAN&gt;s it being truly &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;null&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Null&lt;/SPAN&gt; &lt;SPAN class=""&gt;is&lt;/SPAN&gt;n’t &lt;SPAN class=""&gt;a&lt;/SPAN&gt; &lt;SPAN class=""&gt;value&lt;/SPAN&gt;. It’s the &lt;SPAN class=""&gt;a&lt;/SPAN&gt;bsence of &lt;SPAN class=""&gt;a&lt;/SPAN&gt; &lt;SPAN class=""&gt;value&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;What is NaN? When is it used in ArcGIS? Example: M values in linear referencing.&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;I think there are cases where NaN is actually negative infinity (float), in Oracle at least.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Nil&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;For example,&amp;nbsp;&lt;A href="https://community.esri.com/t5/geodatabase-questions/create-nil-zero-vertex-geometry/m-p/1343655/highlight/true#M8660" target="_self"&gt;Create NIL (zero vertex) geometry&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;I’m aware that there are some bits and pieces of docs pertaining to nulls. But I don’t think those pages cover all the points mentioned above.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 04:06:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idi-p/1239017</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-08T04:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation/tips about empty strings, nulls, and NaN in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idc-p/1239054#M2052</link>
      <description>&lt;P&gt;On a related note:&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;posted a couple of useful ArcPy solutions -- related to finding values with blank cells (or similar):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/oracle-egdb-find-junk-values-in-all-tables-and/td-p/1239037" target="_self"&gt;Oracle EGDB: Find junk values in all tables and columns (and log them in a table)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/data-management-questions/how-do-i-check-if-a-field-in-the-attribute-table/m-p/1239041" target="_self"&gt;[For multiple layers:] How do I check if a field in the attribute table contains a blank cell?&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 08 Dec 2022 08:47:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idc-p/1239054#M2052</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-12-08T08:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation about empty strings, nulls, and NaN in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idc-p/1317366#M2261</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Related:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/tips-about-nulls-in-sql/m-p/1188966" target="_self"&gt;Tips about nulls in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idc-p/1317366#M2261</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-08-10T13:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation about empty strings, nulls, NaN, and Nil in ArcGIS</title>
      <link>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idc-p/1406508#M2382</link>
      <description>&lt;P&gt;Tom Freedman - Working with NULL Much Ado About Nothing&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=ybk3xOyoepY" target="_blank"&gt;https://www.youtube.com/watch?v=ybk3xOyoepY&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 17:12:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/documentation-about-empty-strings-nulls-nan-and/idc-p/1406508#M2382</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-04-05T17:12:53Z</dc:date>
    </item>
  </channel>
</rss>

