SQL Server Profiler Stored Procedures (Transact-SQL)
TOC
Collapse the table of content
Expand the table of content

SQL Server Profiler Stored Procedures (Transact-SQL)

 

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

SQL Server supports the following system stored procedures that are used by SQL Server Profiler to monitor performance and activity.

sp_trace_createsp_trace_setfilter
sp_trace_generateeventsp_trace_setstatus
sp_trace_setevent

For an example of using trace stored procedures, see Create a Trace (Transact-SQL).

SQL Server Event Class Reference
SQL Trace
System Stored Procedures (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft