Home Forums SQL Server 2005 T-SQL (SS2K5) Column and constraint Lookup RE: Column and constraint Lookup
Florian Reischl
SSC-Dedicated
Points: 37301
More actions
March 25, 2009 at 11:57 am
#966169
Oups... sorry! I just tried on my SQL Server 2008.
Just researched... so this should work on SQL Server 2005:
SELECT OBJECT_NAME(object_id) referencing,
OBJECT_NAME(referenced_major_id),
*
FROM sys.sql_dependencies
Greets
Flo