SQL Trigger для вызова хранимой процедуры с параметрами
DECLARE @OrderNumber NVARCHAR(150);
IF EXISTS(SELECT * FROM INSERTED)
BEGIN
SELECT @OrderNumber=i.OrderNumber FROM inserted i;
EXEC [dbo].[YOUR_STOREPROCEDURENAME]
@InGuidKey = N'',
@InParameter1 = '',
@InParameter2 = '',
@InDebugModeOn = N'0'
END
BlackSwan