Share via


sys.server_events (Transact-SQL)

Contains one row for each event for which a server-level event-notification or server-level DDL trigger fires. The columns object_id and type uniquely identify the server event.

Column name

Data type

Description

object_id

int

ID of the server-level event notification or server-level DDL trigger to fire.

type

int

Type of the event that causes the event notification or DDL trigger to fire.

type_desc

nvarchar(60)

Description of the event that causes the DDL trigger or event notification to fire.

event_group_type

int

Event group on which the trigger or event notification is created, or null if not created on an event group.

event_group_type_desc

nvarchar(60)

Description of the event group on which the trigger or event notification is created, or null if not created on an event group

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.