Hi
I need to use sp_trace_setfilter ,to filter Database Id in my trace .the code that i used is this :
set @intfilter = 8
exec sp_trace_setfilter @TraceID, 3, 1, 0, @intfilter
set @intfilter = 9
exec sp_trace_setfilter @TraceID, 3, 1, 0, @intfilter
set @intfilter = 10
exec sp_trace_setfilter @TraceID, 3, 1, 0, @intfilter
It works in one trace script and in another, it doesn't . the only difference between 2 scripts is Events used.
is anybody there to help me?