Can you change the inserted value in one of the columns in AFTER insert trigger code?
-
Yes
-
No
-
Can't Say
-
None of the above
B
Correct answer
Explanation
In AFTER triggers, the insert operation has already completed and the data is written to the table. The inserted values cannot be modified because the transaction is past the point where changes are allowed. To modify inserted values, you would need an INSTEAD OF trigger or modify the data before insertion using a BEFORE trigger (in databases that support it). AFTER triggers are for post-insert operations like auditing or cascading changes.