I have two tables A and B, I a have procedure that inserts data in table A but in order to do that I need to read some data from table B. Table A has a trigger "after insert" that update table B.
My question is, once a transaction calls the procedure to insert data in table A and during this process another transaction calls the same procedure before the first one reachs the "after insert" trigger the second one will read old data or it will wait until the "after insert" trigger be executed and so reads the updated data?
Thanks
Flavio
My question is, once a transaction calls the procedure to insert data in table A and during this process another transaction calls the same procedure before the first one reachs the "after insert" trigger the second one will read old data or it will wait until the "after insert" trigger be executed and so reads the updated data?
Thanks
Flavio