I have the following transaction:
- SQL inserts a 1 new record into a table called tbl_document
- SQL deletes all records matching a criteria in another table called tbl_attachment
- SQL inserts multiple records into the tbl_attachment
Until this transaction finishes, I don't want others users to be aware of the (1) new records in tbl_document, (2) deleted records in tbl_attachment, and (3) modified records in tbl_attachment.
Would Read Committed Isolation be the correct isolation level?