| title | sys.database_event_session_fields (Azure SQL Database) | Microsoft Docs |
|---|---|
| ms.custom | |
| ms.date | 03/03/2017 |
| ms.prod | sql |
| ms.prod_service | database-engine, sql-database |
| ms.reviewer | |
| ms.technology | system-objects |
| ms.topic | language-reference |
| ms.assetid | 9b5c94d6-612c-4e0f-976d-ac6ba55da3ac |
| author | MightyPen |
| ms.author | genemi |
| monikerRange | =azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current |
[!INCLUDEtsql-appliesto-ss2016-asdb-xxxx-xxx-md]
Returns a row for each customizable column that was explicitly set on events and targets.
| Applies to: [!INCLUDEssSDSfull] V12 and any later versions. |
| 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 VIEW DATABASE STATE permission on the server.
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 |