Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sql_dependencies

  No additional text.


Syntax
CREATE VIEW sys.sql_dependencies AS
	SELECT dp.class,
		i.name AS class_desc,
		dp.depid AS object_id,
		dp.depsubid AS column_id,
		dp.indepid AS referenced_major_id,
		dp.indepsubid AS referenced_minor_id,
		sysconv(bit, dp.status & 4) AS is_selected,		-- OBJDEP_READCS
		sysconv(bit, dp.status & 2) AS is_updated,		-- OBJDEP_RESULT
		sysconv(bit, dp.status & 1) AS is_select_all	-- OBJDEP_SELECT
	FROM sys.sysmultiobjrefs dp LEFT JOIN sys.syspalvalues i ON i.class = 'DPCL' AND i.value = dp.class
	WHERE dp.class <= 4	-- MRC_OLDDEPENDS,MRC_EXPRTOOBJ,MRC_EXPRTOTYPE,MRC_EXPRTOXMLNS,MRC_EXPRTOPRTFUNC

 
Last revision 2008RTM
See also

  CONSTRAINT_COLUMN_USAGE (View)
sp_mergearticlecolumn (Procedure)
sp_MScheck_functions_directly_in_view (Procedure)
sp_MScheck_functions_indirectly_in_view (Procedure)
sp_MScomputemergearticlescreationorder (Procedure)
sp_MScomputemergeunresolvedrefs (Procedure)
sp_MSfixup_base_columns (Procedure)
sp_MSisdynamicfunction (Procedure)
sp_rename (Procedure)
sysdepends (View)
VIEW_COLUMN_USAGE (View)
VIEW_TABLE_USAGE (View)
       



News

  Query a named instance
Sybase+ASE+silent+install
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash