TechNet
Export (0) Print
Expand All

sys.service_queues (Transact-SQL)

 

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

Contains a row for each object in the database that is a service queue, with sys.objects.type = SQ.

Column nameData typeDescription
<inherited columns>For a list of columns that this view inherits, see sys.objects (Transact-SQL).
max_readerssmallintMaximum number of the concurrent readers allowed in the queue.
activation_procedurenvarchar(776)Three-part name of the activation procedure.
execute_as_principal_idintID of the EXECUTE AS database principal.

NULL by default or if EXECUTE AS CALLER.

ID of the specified principal if EXECUTE AS SELF EXECUTE AS <principal>.

-2 = EXECUTE AS OWNER.
is_activation_enabledbit1 = Activation is enabled.
is_receive_enabledbit1 = Receive is enabled.
is_enqueue_enabledbit1 = Enqueue is enabled.
is_retention_enabledbit1 = Messages are retained until dialog end.
is_poison_message_handling_enabledbitApplies to: SQL Server 2012 through SQL Server 2016.

1 = Poison message handling is enabled.

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

ADD
Show:
© 2016 Microsoft