Quantcast
Channel: Question and Answer » arcpy
Viewing all articles
Browse latest Browse all 767

How to change field defined as REQUIRED to NON_REQUIRED in ArcGIS Geodatabase

$
0
0

I have created some feature classes in a geodatabase and also some fields using this sample code:

arcpy.AddField_management("schools", "ref_ID", "LONG", 9, "", "", "refcode", "NULLABLE", "REQUIRED")

Since the fields where created with field_is_required’s parameter as “REQUIRED”, how to change it to “NON_REQUIRED” without re-create it?


Viewing all articles
Browse latest Browse all 767

Trending Articles