0

In my trace I see stored procedures calls in my text data like this:

EXEC SomeStoredProcedure, @Param1, @Param2

How can I capture the values of those parameters?

This is for event class

  • 44 SP:StmtStarting
  • 45 SP:StmtCompleted
David Sopko
  • 5,263
  • 2
  • 38
  • 42

1 Answers1

2

Are these SP calls within an SP?

The Stmt events are statements within the procedure.

Look at the RPC:Completed: SQL Server Profile - View Parameter Values? or 43:SP:Completed

Community
  • 1
  • 1
Cade Roux
  • 88,164
  • 40
  • 182
  • 265