Menggunakan 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
di mana 'mySchemaName.myTableName'
adalah schema.table Anda, misalnya 'dbo.MyTable'