查看数据库依赖对象

SELECT
referencing_schema_name +'.'+ referencing_entity_name AS ReferencedEntityName,
referencing_class_desc AS ReferencingEntityDescription
FROM sys.dm_sql_referencing_entities ('dbo.BZLIST', 'OBJECT');
GO

你可能感兴趣的:(数据库)