Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

Sql Profiler: which Event , column retruns stored proc name?

$
0
0

What Event, column name will return the name of the stored proc called?  (I have tried options such as Stored Procedure : RPC Completed and get strings like

declare @p1 int

set @p1= 1245

exec sp_preexec @p1 output, NULL

"exec 12345643 output NULL, N'SELECT col1, col2 ,..... from TableA"

Helpful but I still would like the name of stored proc that invoked this SELECT statement.

TIA,

edm2



Viewing all articles
Browse latest Browse all 12554

Trending Articles