Sunday, July 9, 2017

Add Trace to SP

declare @tracedata varbinary(8000);
SET @tracedata = cast(@EncCCNumber AS varbinary(8000));
EXEC sp_trace_generateevent 82,
N'@EncCCNumber',
@tracedata ;

SET @tracedata = cast(@Token as varbinary(8000));
EXEC sp_trace_generateevent 82,
N'@Token',
@tracedata;

No comments:

Post a Comment