Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 2.99 KB

sys-dm-xe-session-object-columns-transact-sql.md

File metadata and controls

60 lines (49 loc) · 2.99 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
sys.dm_xe_session_object_columns (Transact-SQL)
sys.dm_xe_session_object_columns (Transact-SQL)
rwestMSFT
randolphwest
02/27/2023
sql
system-objects
reference
dm_xe_session_object_columns_TSQL
sys.dm_xe_session_object_columns_TSQL
dm_xe_session_object_columns
sys.dm_xe_session_object_columns
xe
sys.dm_xe_session_object_columns dynamic management view
TSQL

sys.dm_xe_session_object_columns (Transact-SQL)

[!INCLUDE SQL Server SQL Managed Instance]

Shows the configuration values for objects that are bound to an active server-scoped session.

Azure SQL Database supports only database-scoped sessions. See sys.dm_xe_database_session_object_columns.

Column name Data type Description
event_session_address varbinary(8) The memory address of the event session. Has a many-to-one relationship with sys.dm_xe_sessions.address. Is not nullable.
column_name nvarchar(256) The name of the configuration value. Is not nullable.
column_id int The ID of the column. Is unique within the object. Is not nullable.
column_value nvarchar(3072) The configured value of the column. Is nullable.
object_type nvarchar(60) The type of the object. Is not nullable. object_type is one of:

event

target
object_name nvarchar(256) The name of the object to which this column belongs. Is not nullable.
object_package_guid uniqueidentifier The GUID of the package that contains the object. Is not nullable.

Permissions

Requires VIEW SERVER STATE permission on the server.

Permissions for SQL Server 2022 and later

Requires VIEW SERVER PERFORMANCE STATE permission on the server.

Relationship cardinalities

From To Relationship
dm_xe_session_object_columns.object_name,

dm_xe_session_object_columns.object_package_guid
sys.dm_xe_objects.package_guid,

sys.dm_xe_objects.name
Many-to-one
dm_xe_session_object_columns.column_name,

dm_xe_session_object_columns.column_id
sys.dm_xe_object_columns.name,

sys.dm_xe_object_columns.column_id
Many-to-one

Next steps

Learn more about related concepts in the following articles: