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.sysdepends (Transact-SQL)

 

Applies To: SQL Server 2014, SQL Server 2016 Preview

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.

System_CAPS_importantImportant

This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping System Tables to System Views (Transact-SQL). This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.  

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

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

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

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

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

depsiteid

smallint

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

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.

Community Additions

ADD
Show:
© 2015 Microsoft