You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**spid**|**int**|ID of the session of the activated stored procedure. NULLABLE.|
29
-
|**database_id**|**smallint**|ID of the database in which the queue is defined. NULLABLE.|
30
-
|**queue_id**|**int**|ID of the object of the queue for which the stored procedure was activated. NULLABLE.|
31
-
|**procedure_name**|**nvarchar(650)**|Name of the activated stored procedure. NULLABLE.|
32
-
|**execute_as**|**int**|ID of the user that the stored procedure runs as. NULLABLE.|
33
-
34
-
## Permissions
35
-
Requires VIEW SERVER STATE permission on the server.
36
-
37
-
### Permissions for SQL Server 2022 and later
38
-
39
-
Requires VIEW SERVER PERFORMANCE STATE permission on the server.
40
-
41
-
## Physical joins
42
-
43
-
:::image type="content" source="../../relational-databases/system-dynamic-management-views/media/join-dm-broker-activated-tasks-1.svg" alt-text="Diagram of physical joins for sys.dm_broker_activated_tasks.":::
0 commit comments