Reputation: 117
I have a procedure A where a DELETE is performed without COMMIT after it. In this same procedure A another procedure B is called after the mentioned DELETE statement. Procedure B contains just an INSERT with COMMIT. Does this COMMIT (in procedure B) apply also to the DELETE executed in procedure A?
Upvotes: 0
Views: 2334
Reputation: 1555
Yes, it also does for the procedure A if and only if the procedure B is not marked as an autonomous transaction.
Upvotes: 3