Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Profiler : capture calls to your database's stored procs during SSRS report generation

Using SQL Server/SSRS 2008.

With SQL Server Profiler, I've been unsuccessfully trying to trace SSRS (rdl) report generation calls to my database's stored procs i.e. so I can see what parameter values are being passed etc.

What events should I be looking for?

like image 771
Moe Sisko Avatar asked Feb 02 '12 05:02

Moe Sisko


1 Answers

Events:

In Stored Procedures group

  • RPC:Completed
  • RPC:Starting (if completed is not called because of error in proc)

If your proc is called as usual Sql Query, then:

In TSQL group

  • SQL: Batch Starting
  • SQL: Batch Completed
like image 89
Oleg Dok Avatar answered Oct 07 '22 13:10

Oleg Dok