---
title: "sys.sysdepends (Transact-SQL) | Microsoft Docs"
ms.custom: ""
ms.date: "03/15/2017"
ms.prod: sql
ms.prod_service: "database-engine"
ms.reviewer: ""
ms.technology: system-objects
ms.topic: "language-reference"
f1_keywords:
- "sys.sysdepends_TSQL"
- "sysdepends"
- "sysdepends_TSQL"
- "sys.sysdepends"
dev_langs:
- "TSQL"
helpviewer_keywords:
- "sysdepends system table"
- "sys.sysdepends compatibility view"
ms.assetid: f9c182cb-386f-4e72-859f-9f1115b389f9
author: "rothja"
ms.author: "jroth"
---
# sys.sysdepends (Transact-SQL)
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
Contains dependency information between objects (views, procedures, and triggers) in the database, and the objects (tables, views, and procedures) that are contained in their definition.
> [!IMPORTANT]
> [!INCLUDE[ssnoteCompView](../../includes/ssnotecompview-md.md)]
|Column name|Data type|Description|
|-----------------|---------------|-----------------|
|**id**|**int**|Object ID.|
|**depid**|**int**|Dependent object ID.|
|**number**|**smallint**|Procedure number.|
|**depnumber**|**smallint**|Dependent procedure number.|
|**status**|**smallint**|[!INCLUDE[ssInternalOnly](../../includes/ssinternalonly-md.md)]|
|**deptype**|**tinyint**|Identifies the dependent object type:
0 = Object or column (non-schema-bound references only
1 = Object or column (schema-bound references)|
|**depdbid**|**smallint**|[!INCLUDE[ssInternalOnly](../../includes/ssinternalonly-md.md)]|
|**depsiteid**|**smallint**|[!INCLUDE[ssInternalOnly](../../includes/ssinternalonly-md.md)]|
|**selall**|**bit**|1 = Object is used in a SELECT * statement.
0 = No.|
|**resultobj**|**bit**|1 = Object is being updated.
0 = No.|
|**readobj**|**bit**|1 = The object is being read.
0 = No.|
## See Also
[Mapping System Tables to System Views (Transact-SQL)](../../relational-databases/system-tables/mapping-system-tables-to-system-views-transact-sql.md)
[Compatibility Views (Transact-SQL)](~/relational-databases/system-compatibility-views/system-compatibility-views-transact-sql.md)
[sp_depends (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-depends-transact-sql.md)
[sys.sql_dependencies (Transact-SQL)](../../relational-databases/system-catalog-views/sys-sql-dependencies-transact-sql.md)