|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sql Server Profile is not filteringHi Everybody, I'm new with Sql Profiler tool and I'm trying to trace a Stored
Procedure to run the Index Tuning Wizard for it. The problem is that I used the SqlProfilerTuning template and I put filters like: DB name like mydb, ObjectName like GetMyItems but I still get the execution of every procedure of every DB. My question is: why does my filters doesn't work correctly. Do I have to add ' ' or % to the string name? How can I also indicate that the object is a Stored Procedure? How can I also exclude the sql agent procedures from the tracing. I really need a very specific trace file. Thanks for your help I always use a % when using LIKE. But dbname is usually not populated. Try
using DBID instead. -- Show quoteAndrew J. Kelly SQL MVP "aletita" <u16221@uwe> wrote in message news:581a69402d82d@uwe... > Hi Everybody, I'm new with Sql Profiler tool and I'm trying to trace a > Stored > Procedure to run the Index Tuning Wizard for it. The problem is that I > used > the SqlProfilerTuning template and I put filters like: DB name like mydb, > ObjectName like GetMyItems but I still get the execution of every > procedure > of every DB. > > My question is: why does my filters doesn't work correctly. Do I have to > add > ' ' or % to the string name? How can I also indicate that the object is a > Stored Procedure? How can I also exclude the sql agent procedures from the > tracing. I really need a very specific trace file. > > Thanks for your help |
|||||||||||||||||||||||