sys.service_contracts (Transact-SQL)

APPLIES TO: yesSQL Server noAzure SQL Database noAzure SQL Data Warehouse noParallel Data Warehouse

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

Column name Data type Description
name sysname Name of the contract, unique within the database. Not NULLABLE.
service_contract_id int Identifier of the contract. Not NULLABLE.
principal_id int Identifier for the database principal that owns this contract. 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.