sys.sysdepends (Transact-SQL)
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
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 SQL Server 2000 System Tables to SQL Server 2005 System Views. 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.
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 |
Internal status information |
depdbid |
smallint |
Reserved |
depsiteid |
smallint |
Reserved |
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
Reference
Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views
Compatibility Views (Transact-SQL)
sp_depends (Transact-SQL)
sys.sql_dependencies (Transact-SQL)
Other Resources
Understanding SQL Dependencies