I just wonder if it is possible to see what stored procedure or SQL statement that caused a trigger to be executed somewhere in the trigger.
I have a really wierd bug where a field is changed and i can't for my life figure out why that is happening. I have a trigger that is logging that the data is changed but it would be great if i also could log what sql statement caused the field to change.
Is this possible?