Hello Guys,I was trying to see if it's possible to get the current process for a table update(stored proc/query) and log to an audit column using an update trigger. How is it possible. (QUOTENAME(OBJECT_SCHEMA_NAME(@@PROCID))+'.'+QUOTENAME(OBJECT_NAME(@@PROCID)) - only gives the update trigger nameIf any one can provide the script for the trigger, that would be great.Many thanks!
↧
Get the current process for table update (stored proc/query) and log to audit column using trigger
↧