SQLTeam.com Logo

Return to Code to find out the statement that caused the trigger to fire!

Code to find out the statement that caused the trigger to fire!

Written by Bill Graziano on 16 April 2002

Vyas submitted "This example trigger uses DBCC INPUTBUFFER to track the actual SQL statements that are modifying the data. Handy for tracking and auditing purposes."