sys.server_events (Transact-SQL)

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

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

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.

See Also

Object Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)