Removal of attachments - python. The typical suggestion for scripted attachment removal is to use
arcpy.RemoveAttachments_management(), and operate on the base feature class, generate a match table (.csv), etc. to remove attachments from the table
Is there any reason (underlying database issues) that you can't simply remove rows directly from the attachment table using arcpy.da.UpdateCursor? This would seem more direct and faster, and might also bypass the versioned data attachment removal issues discussed 2012-2017 for python and GP tools - am I missing something?
Thanks
ref: Remove Attachments not working on data in SDE, gives warning "Cannot remove attachments for OID = &l...
ref: Cannot add/remove attachments in python when table/featureclass is versioned