sys.event_notifications (Transact-SQL)


Updated: June 10, 2016

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

Returns a row for each object that is an event notification, with sys.objects.type = EN.

Column nameData typeDescription
namesysnameEvent notification name.
object_idintObject identification number. Is unique within a database.
parent_classtinyintClass of parent.

0 = Database

1 = Object or Column

parent_idintNon-zero ID of the parent object.

0 = The parent class is the database.
create_datedatetimeDate created.
modify_datedatetimeAlways equals create_date.
service_namenvarchar(256)Name of the target service to which the notification is sent.
broker_instancenvarchar(128)Broker instance to which the notification is sent.
principal_idintID of the database principal that owns this event notification.
creator_sidvarbinary(85)SID of the login who created the event notification.

Is NULL if the FAN_IN option is not specified.

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.

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

Community Additions