I have a table that holds config information and an unknown source is updating the values. If I place a trigger on the table and write a history row the trigger is identified as the history row creator. How can I capture the object id that updated the config row??
If the update happens via a stored procedure call, you can use the @@PROCID variable to get the object_id.
Aah, yes, that's true. Sorry! If you're in control of the procedure, you might then be able to set CONTEXT_INFO() and evaluate its value inside the trigger.