Korzystanie z sys.dm_sql_referencing_entities
:
SELECT
referencing_schema_name, referencing_entity_name, referencing_id,
referencing_class_desc, is_caller_dependent
FROM
sys.dm_sql_referencing_entities ('mySchemaName.myTableName', 'OBJECT');
GO
gdzie 'mySchemaName.myTableName'
jest twoim schema.table, na przykład 'dbo.MyTable'