sys.trace_event_bindings (Transact-SQL)

The sys.trace_event_bindings catalog view contains a list of all possible usage combinations of events and columns. For each event listed in the trace_event_id column, all available columns are listed in the trace_column_id column. Not all available columns are populated each time a given event occurs. These values do not change for a given version of the SQL Server Database Engine.

For a complete list of supported trace events, see SQL Server Event Class Reference.

Column name

Data type

Description

trace_event_id

smallint

ID of the trace event. This column is also in the sys.trace_events catalog view.

trace_column_id

smallint

ID of the trace column. This column is also in the sys.trace_columns catalog view.

Permissions

In SQL Server 2005 and later versions, 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.