Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.service_queues

  No additional text.


Syntax
CREATE VIEW sys.service_queues AS
	SELECT o.name, o.object_id, o.principal_id, o.schema_id, o.parent_object_id,
		o.type, o.type_desc, o.create_date, o.modify_date,
		o.is_ms_shipped, o.is_published, o.is_schema_published,
		convert(smallint, o.property) AS max_readers,
		convert(nvarchar(776), v.value) COLLATE database_default AS activation_procedure,
		e.indepid AS execute_as_principal_id,
		o.is_activation_enabled, o.is_receive_enabled, o.is_enqueue_enabled,
		o.is_retention_enabled
	FROM sys.objects$ o
	LEFT JOIN sys.sysobjvalues v ON v.valclass = 12 AND v.objid = o.object_id AND v.subobjid = 0 AND v.valnum = 0	-- SVC_QUEUEACTIVPROC
	LEFT JOIN sys.syssingleobjrefs e ON e.depid = o.object_id AND e.class = 22 AND e.depsubid = 0 -- SRC_OBJEXECASOWNER
	WHERE o.type = 'SQ'

 
Last revision 2008RTM
See also

  sp_send_dbmail (Procedure)
sysmail_help_queue_sp (Procedure)
sysmail_help_status_sp (Procedure)
       



News

  Query a named instance
Sybase+ASE+silent+install
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash