Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

sys.services (Transact-SQL)

 

Applies To: SQL Server 2014, SQL Server 2016 Preview

This catalog view contains a row for each service in the database.

Applies to: SQL Server (SQL Server 2008 through current version).

Column name

Data type

Description

name

sysname

Case-sensitive name of service, unique within the database. Not NULLABLE.

service_id

int

Identifier of the service. Not NULLABLE.

principal_id

int

Identifier for the database principal that owns this service. NULLABLE.

service_queue_id

int

Object id for the queue that this service uses. Not NULLABLE.

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.

Community Additions

ADD
Show:
© 2015 Microsoft