How do you create a SQL Profiler trace that will check if any stored procedure with 'tracking' in the SP name is executed?

Posted on 2009-04-17
Last Modified: 2012-05-06
Hi Guys,
How does one create a SQL Server profiler trace that will check, if any stored procedure which has the string 'tracking' in it's name, is executed?

Question by:Barry Cunney
    1 Comment
    LVL 25

    Accepted Solution

    You could try creating a new trace using the template 'SQLProfilerTSQL_SPs' and then add a filter under TextData -> Like '%tracking%'.

    This could possibly capture any parameter values with the pattern '%tracking%' as well though..

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
    I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    This video discusses moving either the default database or any database to a new volume.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now