Hi All,
I have a post insert trigger for Table ‘A’ that will insert data into Table ‘B’. My question is once the data being inserted into Table ‘A’ through a transaction from Business layer, Whether the after trigger will get executed once the transaction gets committed or the trigger will get executed once the data get inserted into table ‘A’ (Before the transaction gets committed)? If it is the later case then, what happens if the transaction failed [Rollback]?
If subsequent DML operations are being executed on Table ‘A’ through a transaction from Business layer, E.g. , Update some rows and Insert some new data, are there any chances of dead lock that could happen on Table ‘A’?
Thanks,
Lauren