<?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: Difference Between Field Properties (isNullable vs required)? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819342#M3652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additionally, the Is Required property essentially only works inside the database you are working in, i.e. if you export data from the database, this will be lost and people will be able to delete the field in their copy (makes sense). Is Nullable transfers with the data when it is moved/copied around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2019 15:41:18 GMT</pubDate>
    <dc:creator>DanaNolan</dc:creator>
    <dc:date>2019-07-31T15:41:18Z</dc:date>
    <item>
      <title>Difference Between Field Properties (isNullable vs required)?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819339#M3649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm confused about the difference between two field properties: isNullable vs. required. Looking at the docs for a &lt;A href="http://desktop.arcgis.com/en/arcmap/10.5/analyze/arcpy-classes/field.htm"&gt;field object&lt;/A&gt;, I see both listed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isNullable:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/454430_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;required:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/454431_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the purpose of having both of these properties? I ask because I am analyzing a dataset with a field where isNullable = True, and required = True.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/454432_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;Shouldn't a field that allows null values be considered non-required?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to anyone who can clear this up for me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 21:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819339#M3649</guid>
      <dc:creator>MicahBabinski</dc:creator>
      <dc:date>2019-07-25T21:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between Field Properties (isNullable vs required)?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819340#M3650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/36357"&gt;Micah Babinski&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to think about this question.&amp;nbsp; Do not&amp;nbsp;consider of Nullable and Required as related to each other as they serve totally different functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nullable and Non-Nullable pertains to when a &lt;STRONG&gt;value&lt;/STRONG&gt; is not provided for a field the database will automatically populate the field with a &amp;lt;NULL&amp;gt; for Nullable&amp;nbsp;or a zero (0) for numbers and an empty string ("") for text for Non-Nullable fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required pertains to the &lt;STRONG&gt;field&lt;/STRONG&gt; (the column) in a table&amp;nbsp;not the values&amp;nbsp;stored in the field.&amp;nbsp; When you select Required you cannot delete or remove the field or column from the table.&amp;nbsp; The Delete Field option will be grayed out for this column in the table.&amp;nbsp; The values in the field still can contain NULLs if the field is also set to Nullable or will contain 0 and "" for Non-Nullable.&amp;nbsp; A good example of the use of Required would be to prevent a user from accidently deleting a field that is used by other functions or programs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The image below shows a field in a table that is set to Required and Allow Nulls.&amp;nbsp; You can see there are Null values in the table but if I try to delete the field, the option is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="454462" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/454462_Capture.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 00:28:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819340#M3650</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2019-07-26T00:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between Field Properties (isNullable vs required)?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819341#M3651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lance! I now see that in the field_is_required parameter description of the Add Field tool. Your explanation is far superior! This will save me a lot of confusion and investigation time at work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Micah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 04:16:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819341#M3651</guid>
      <dc:creator>MicahBabinski</dc:creator>
      <dc:date>2019-07-26T04:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between Field Properties (isNullable vs required)?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819342#M3652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Additionally, the Is Required property essentially only works inside the database you are working in, i.e. if you export data from the database, this will be lost and people will be able to delete the field in their copy (makes sense). Is Nullable transfers with the data when it is moved/copied around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 15:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/difference-between-field-properties-isnullable-vs/m-p/819342#M3652</guid>
      <dc:creator>DanaNolan</dc:creator>
      <dc:date>2019-07-31T15:41:18Z</dc:date>
    </item>
  </channel>
</rss>

