Trace stored proc calling event

I wanna use the SQL Profiler to trace some stored proc. calling events, such callings are originated from an .NET or Java application. Which event, RPC:Starting or SP:Starting, should I use

Answer this question

Trace stored proc calling event

  • Asim A

    Hi,

    look in the MSDN Online Library. It describes the events in detail. RPC means RemoteProcedureCall, SP mean Stored procedure. These event are for showing the information which is sgiving when any of these events occur.

    HTH, Jens Suessmeyer.

    ---
    http://www.sqlserver2005.de
    ---

  • Mike Batton

    Start with:

    STMT:Starting
    SP:Starting
    Errors
    eventually audits

    HTH, jens Suessmeyer.

    ---
    http://www.sqlserver2005.de
    ---

  • Neels215375

    Thanks for your reply, Jens. But what's the difference between RPC:Starting and SP:Starting When I run a trace which montoring these two events, sometimes their contents are the same. Anybody knows the exact definitions of these two events
  • Trace stored proc calling event