Export (0) Print
Expand All

sys.trace_events (Transact-SQL)

The sys.trace_events catalog view contains a list of all SQL trace events. These trace events do not change for a given version of the SQL Server Database Engine.

Important note Important

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use Extended Event catalog views instead.

For more information about these trace events, see SQL Server Event Class Reference.

Column name

Data type




Unique ID of the event. This column is also in the sys.trace_event_bindings and sys.trace_subclass_values catalog views.



Category ID of the event. This column is also in the sys.trace_categories catalog view.



Unique name of this event. This parameter is not localized.

The visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see Metadata Visibility Configuration.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft