In a COBOL\DB2 program if I am updating a column value (which is part of index) which option is better-
First delete the record which ging to be updated and then insert new record with updated values
or
directly using update query