Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server 2016 (13.x) and later
Azure SQL Database
Azure SQL Managed Instance
Returns a row for each customizable column that was explicitly set on events and targets in a database-scoped event session.
Azure SQL Database supports only database-scoped sessions. Azure SQL Managed Instance supports both database-scoped sessions and server-scoped sessions. Server-scoped sessions are recommended for managed instances: learn more in CREATE EVENT SESSION.
Column name | Data type | Description |
---|---|---|
event_session_id | int | The ID of the event session. Is not nullable. |
object_id | int | The ID of the object this field is associated with. Is not nullable. |
name | sysname | The name of the field. Is not nullable. |
value | sql_variant | The value of the field. Is not nullable. |
Requires the VIEW DATABASE STATE permission.
This view has the following relationship cardinalities.
From | To | Relationship |
---|---|---|
sys.database_event_session_actions.event_session_id | sys.database_event_sessions.event_session_id | Many to one |
sys.database_event_session_actions.event_id sys.database_event_session_actions.object_id sys.database_event_session_actions.event_session_id |
sys.database_event_session_events.event_session_id sys.database_event_session_events.event_id |
Many to one |
sys.database_event_session_actions.event_session_id sys.database_event_session_actions.object_id |
sys.database_event_session_targets.event_session_id sys.database_event_session_targets.target_id |
Many to one |
Learn more about related concepts in the following articles:
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today