To set a field to
UpdateCursor is setting the value to
Here is a sample for the
with arcpy.da.UpdateCursor(test_fc, ['SERVICEINDICATOR'], """"OBJECTID" = 1""") as uCur: for row in uCur: row = None uCur.updateRow(row)
The field allows nulls but has a default value. When setting the value to
null, it always sets to the default.
In other words, if the default is '
N', setting the field to None results in the row having '
How can the cursors respect the
This is an Oracle SDE database (so the answer to arcpy.UpdateCursor setting value to 0 instead of Null does not apply) and ArcMap 10.1