Events
Mar 31, 11 PM - Apr 2, 11 PM
The ultimate SQL, Power BI, Fabric, and AI community-led event. March 31 - April 2. Use code MSCUST for a $150 discount.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Azure SQL Managed Instance
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
This feature will be removed in a future version of 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 | Description |
---|---|---|
trace_event_id | smallint | Unique ID of the event. This column is also in the sys.trace_event_bindings and sys.trace_subclass_values catalog views. |
category_id | smallint | Category ID of the event. This column is also in the sys.trace_categories catalog view. |
name | nvarchar(128) | 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 was granted some permission. For more information, see Metadata Visibility Configuration.
Object Catalog Views (Transact-SQL)
sys.traces (Transact-SQL)
sys.trace_categories (Transact-SQL)
sys.trace_columns (Transact-SQL)
sys.trace_event_bindings (Transact-SQL)
sys.trace_subclass_values (Transact-SQL)
Events
Mar 31, 11 PM - Apr 2, 11 PM
The ultimate SQL, Power BI, Fabric, and AI community-led event. March 31 - April 2. Use code MSCUST for a $150 discount.
Register today