Getting Information About Event Notifications
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Getting Information About Event Notifications

The following catalog views are available to query metadata about event notifications.

To get information about nonserver-level event notifications

ms189332.note(en-US,SQL.90).gifNote:
To view metadata about any event notification in sys.event_notifications created at the database level, at the minimum you must have the following: CONTROL, ALTER, TAKE OWNERSHIP, or VIEW DEFINITION permission on the database, be the owner of the event notification, or have ALTER ANY DATABASE EVENT NOTIFICATION permission. For event notifications created on a specific queue, at the minimum you must have the following: CONTROL, ALTER, TAKE OWNERSHIP, or VIEW DEFINITION permission on the object, be the owner of the event notification, or have ALTER ANY DATABASE EVENT NOTIFICATION permission.

To get information about server-level event notifications

ms189332.note(en-US,SQL.90).gifNote:
At the minimum, you must have the following: CONTROL or VIEW ANY DEFINITION permission on the server, be the logon or owner of the event notification, or have ALTER ANY EVENT NOTIFICATION permission to view metadata about any event notification in sys.server_event_notifications.

To get information about all events that can fire event notifications

ms189332.note(en-US,SQL.90).gifNote:
This catalog view does not return event groups.

Show:
© 2016 Microsoft