Profiler: Filter SPs and SPs within it.

  • Hi All,

    I need to filter the SPs and the SPs called within it ONLY.

    i am seeing "SQLProfilerTSQL_SPs" template, but this gives all stmts within the SP.

    i need my profiler to list like:

    SP1

    SP11

    SP12

    SP2

    SP21

    SP22

    Appreciating your help always.

  • SQL Mad Rafi (6/23/2012)


    Hi All,

    I need to filter the SPs and the SPs called within it ONLY.

    i am seeing "SQLProfilerTSQL_SPs" template, but this gives all stmts within the SP.

    i need my profiler to list like:

    SP1

    SP11

    SP12

    SP2

    SP21

    SP22

    Appreciating your help always.

    Dear All,

    Am i not clear !

    Surprising for first time, no one put their comment .

    Thanks.

  • It's a SunDay!!

    1) select New trace with <blank> template

    2) Goto "Events Selection" tab -> Expand node "Stored Procedures" -> Select event "SP:Completed"

    3) Select the columns you need in the trace and hit RUN

    I hope this is "what you asked for"

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply